exclude tests themselves from coverage reporting
This commit is contained in:
2
.github/workflows/python-package.yml
vendored
2
.github/workflows/python-package.yml
vendored
@@ -37,7 +37,7 @@ 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: Test with pytest and coverage
|
- name: Test with pytest and coverage
|
||||||
run: |
|
run: |
|
||||||
coverage run -m pytest
|
coverage run --source=propka -m pytest
|
||||||
coverage report -m | tee coverage.txt
|
coverage report -m | tee coverage.txt
|
||||||
coverage html
|
coverage html
|
||||||
- name: Upload coverage to https://codecov.io/gh/jensengroup/propka
|
- name: Upload coverage to https://codecov.io/gh/jensengroup/propka
|
||||||
|
|||||||
Reference in New Issue
Block a user