mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-16 21:12:13 +00:00
Another go at making coverage show up
This commit is contained in:
10
.coveragerc
10
.coveragerc
@@ -1,9 +1,3 @@
|
||||
[run]
|
||||
source =
|
||||
./
|
||||
plugins =
|
||||
django_coverage_plugin
|
||||
|
||||
omit =
|
||||
*/migrations/*
|
||||
*/tests/*
|
||||
plugins = django_coverage_plugin
|
||||
omit = *migrations*, *tests*
|
||||
|
||||
2
.github/workflows/django.yml
vendored
2
.github/workflows/django.yml
vendored
@@ -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
|
||||
|
||||
0
PyRIGS/tests/__init__.py
Normal file
0
PyRIGS/tests/__init__.py
Normal file
Reference in New Issue
Block a user