Another go at making coverage show up

This commit is contained in:
2021-01-28 18:05:57 +00:00
parent 874b8ef37a
commit 2351201e13
3 changed files with 3 additions and 9 deletions

View File

@@ -1,9 +1,3 @@
[run] [run]
source = plugins = django_coverage_plugin
./ omit = *migrations*, *tests*
plugins =
django_coverage_plugin
omit =
*/migrations/*
*/tests/*

View File

@@ -54,7 +54,7 @@ jobs:
env: env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with: with:
coverageCommand: coverage run -m pytest --cov=PyRIGS -n 8 coverageCommand: coverage run -m pytest -n 8
coverageLocations: | coverageLocations: |
${{github.workspace}}/.coverage ${{github.workspace}}/.coverage
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2

0
PyRIGS/tests/__init__.py Normal file
View File