From b86e4e017f4392f6f347215e6a16591bacd8c94e Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Wed, 22 Jun 2022 22:41:47 +0000 Subject: [PATCH] add back coverage --- .github/workflows/ci-tests.yml | 1 + api/tacticalrmm/pytest.ini | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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