Skip to content

Merge pull request #20 from LukasHedegaard/develop #188

Merge pull request #20 from LukasHedegaard/develop

Merge pull request #20 from LukasHedegaard/develop #188

Workflow file for this run

name: Python package
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-2019]
python-version: [3.7, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Lint
run: |
flake8 . --max-complexity=12 --max-line-length=88 --select=C,E,F,W,B,B950,BLK --ignore=E203,E231,E501,W503
- name: Test with pytest
run: |
pytest -m "not skip_cicd"