diff --git a/.coveragerc b/.coveragerc index 06e4886d..c36f6ab7 100644 --- a/.coveragerc +++ b/.coveragerc @@ -2,3 +2,7 @@ exclude_lines = pragma: no cover if TYPE_CHECKING: + +[run] +branch = True +source = game,pydcs_extensions,qt_ui,resources/tools diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f28f1287..b8adbb88 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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