use pytest for github unittests

This commit is contained in:
Fabian Dill 2020-04-29 18:44:03 +02:00
parent f5be6867c8
commit a3c1e902d4
2 changed files with 5 additions and 1 deletions

View File

@ -33,4 +33,4 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Unittests - name: Unittests
run: | run: |
python -m unittest discover -s test -t test pytest test

4
pytest.ini Normal file
View File

@ -0,0 +1,4 @@
[pytest]
python_files = Test*.py
python_classes = Test
python_functions = test