add back coverage

This commit is contained in:
wh1te909 2022-06-22 22:41:47 +00:00
parent bbec17d498
commit b86e4e017f
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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