Skip to content

Merge pull request #169 from tetov/master #297

Merge pull request #169 from tetov/master

Merge pull request #169 from tetov/master #297

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.7
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