add back coverage
This commit is contained in:
parent
bbec17d498
commit
b86e4e017f
|
@ -69,4 +69,5 @@ jobs:
|
||||||
- uses: codecov/codecov-action@v3
|
- uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
directory: ./api/tacticalrmm
|
directory: ./api/tacticalrmm
|
||||||
|
files: ./api/tacticalrmm/coverage.xml
|
||||||
verbose: true
|
verbose: true
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[pytest]
|
[pytest]
|
||||||
DJANGO_SETTINGS_MODULE = tacticalrmm.settings
|
DJANGO_SETTINGS_MODULE = tacticalrmm.settings
|
||||||
python_files = tests.py test_*.py
|
python_files = tests.py test_*.py
|
||||||
addopts = --cov . --capture=tee-sys -vv
|
addopts = --capture=tee-sys -vv --cov --cov-config=.coveragerc --cov-report=xml
|
||||||
|
|
||||||
filterwarnings =
|
filterwarnings =
|
||||||
ignore::django.core.cache.CacheKeyWarning
|
ignore::django.core.cache.CacheKeyWarning
|
||||||
|
|
Loading…
Reference in New Issue