update the config for pytest-cov

This commit is contained in:
Andreas Zweili 2020-11-30 19:16:06 +01:00
parent 7f4eaad42b
commit 2600e081ff
2 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,7 @@ local:
testlocal:
( \
source backend/venv/bin/activate; \
pytest -n 6 --ds=network_inventory.settings.local --nomigrations --cov=. --cov-report=html:backend/htmlcov/ backend/; \
pytest -n 6 --ds=network_inventory.settings.local --nomigrations --cov=. --cov-config=backend/.coveragerc --cov-report=html:backend/htmlcov/ backend/; \
)

View File

@ -9,3 +9,4 @@ omit =
*__init__.py,
manage.py,
*admin.py
*venv/*