Prepare changelog for next release #313
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |