fix: compatibility with python < 3.8 (#16)

* ci: run tests in python 3.7 as well
This commit is contained in:
Felix Spöttel
2022-07-07 10:21:21 +02:00
committed by GitHub
parent ff094a1d3e
commit 99e844c6ce
5 changed files with 14 additions and 11 deletions

View File

@@ -36,17 +36,19 @@ jobs:
run: |
python setup.py check
python setup.py bdist_wheel sdist
- python: "3.10"
task:
name: "Style"
name: "Lint"
run: |
black --check .
- python: "3.10"
task:
name: "Test"
run: pytest --exitfirst --failed-first
- python: "3.7"
task:
name: "Test (3.7)"
run: pytest --exitfirst --failed-first
steps:
- uses: actions/checkout@v3