exclude tests themselves from coverage reporting
This commit is contained in:
1 parent
4591a0ff1f
commit
d710ca9679
1 file changed
+1
-1
@@ -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