Expand python coverage, use coveragerc.

This commit is contained in:
Dan Albert 2023-05-03 23:29:49 -07:00
parent 4ee6de2c84
commit 5e459c2390
2 changed files with 5 additions and 1 deletions

View File

@ -2,3 +2,7 @@
exclude_lines =
pragma: no cover
if TYPE_CHECKING:
[run]
branch = True
source = game,pydcs_extensions,qt_ui,resources/tools

View File

@ -15,7 +15,7 @@ jobs:
- name: run tests
run: |
./venv/scripts/activate
pytest --cov game --cov-branch --cov-report=xml tests
pytest --cov-report=xml tests
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3