diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 00000000..c36f6ab7 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,8 @@ +[report] +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