Switch to pyproject and ruff #17
Workflow file for this run
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: Test | |
on: | |
workflow_dispatch: {} | |
push: {} | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
strategy: | |
matrix: | |
python: ["3.7", "3.8", "3.9", "3.10"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install Package | |
run: | | |
pip install -e .[test] | |
- name: Test | |
run: | | |
black --check . | |
isort --diff . | |
flake8 . | |
pytest --cov --cov-report term-missing --cov-fail-under 80 tests/ | |
mypy . |