diff --git a/.coveragerc b/.coveragerc index 90a72d3a..aa56f759 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,9 +1,3 @@ [run] -source = - ./ -plugins = - django_coverage_plugin - -omit = - */migrations/* - */tests/* +plugins = django_coverage_plugin +omit = *migrations*, *tests* diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index cf66c7c8..a732b544 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -54,7 +54,7 @@ jobs: env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} with: - coverageCommand: coverage run -m pytest --cov=PyRIGS -n 8 + coverageCommand: coverage run -m pytest -n 8 coverageLocations: | ${{github.workspace}}/.coverage - uses: actions/upload-artifact@v2 diff --git a/PyRIGS/tests/__init__.py b/PyRIGS/tests/__init__.py new file mode 100644 index 00000000..e69de29b