diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 1bc8bede..d5f46175 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -69,4 +69,5 @@ jobs: - uses: codecov/codecov-action@v3 with: directory: ./api/tacticalrmm + files: ./api/tacticalrmm/coverage.xml verbose: true diff --git a/api/tacticalrmm/pytest.ini b/api/tacticalrmm/pytest.ini index b44678fa..480bfae5 100644 --- a/api/tacticalrmm/pytest.ini +++ b/api/tacticalrmm/pytest.ini @@ -1,7 +1,7 @@ [pytest] DJANGO_SETTINGS_MODULE = tacticalrmm.settings 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 = ignore::django.core.cache.CacheKeyWarning