use pytest for github unittests
This commit is contained in:
parent
f5be6867c8
commit
a3c1e902d4
|
@ -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
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[pytest]
|
||||||
|
python_files = Test*.py
|
||||||
|
python_classes = Test
|
||||||
|
python_functions = test
|
Loading…
Reference in New Issue