exclude tests themselves from coverage reporting

This commit is contained in:
Oliver Beckstein
2020-06-25 17:58:41 -07:00
parent 4591a0ff1f
commit d710ca9679

View File

@@ -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