Skip to content

Updated requirements and python versions #311

Updated requirements and python versions

Updated requirements and python versions #311

Workflow file for this run

name: build
on:
# [push]
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-packages:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
steps:
- uses: actions/checkout@v2
- name: Setup miniconda with python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: compas_slicer
environment-file: environment.yml
python-version: 3.8
auto-activate-base: false
auto-update-conda: true
- name: Conda info
run: conda info
- name: Install project
run: |
python -m pip install --no-cache-dir -r requirements-dev.txt
- name: Test import
run: |
python -c "import compas_slicer; print('COMPAS Slicer version: ' + compas_slicer.__version__)"
- name: Lint with flake8
run: |
invoke lint
- name: Test with pytest
run: |
invoke test