Switch to tox for tests (#73)

This commit is contained in:
AlexVonB
2022-08-28 21:40:52 +02:00
committed by GitHub
parent 17d8586843
commit 6263f0e5f0
6 changed files with 18 additions and 71 deletions

View File

@@ -23,11 +23,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8==3.8.4 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
pip install tox
- name: Lint and test
run: |
python setup.py lint
- name: Test with pytest
run: |
python setup.py test
tox