Updated test workflow.
This commit is contained in:
parent
f786d5e975
commit
2c4ad7f397
|
@ -38,7 +38,7 @@ jobs:
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
coverage run --append --source=benedict -m unittest
|
coverage run --append --source=benedict setup.py test
|
||||||
coverage xml -o ./coverage.xml
|
coverage xml -o ./coverage.xml
|
||||||
|
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -18,7 +18,7 @@ commands =
|
||||||
pip install pip --upgrade
|
pip install pip --upgrade
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install -r requirements-test.txt
|
pip install -r requirements-test.txt
|
||||||
coverage run --append --source=benedict -m unittest
|
coverage run --append --source=benedict setup.py test
|
||||||
coverage report -m
|
coverage report -m
|
||||||
codecov
|
codecov
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue