jenkins: show execution context in coverage reports (#60446)
gitea-wip/combo/pipeline/head There was a failure building this commit Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
Emmanuel Cazenave 2022-01-11 15:22:24 +01:00
parent 8d1735134c
commit fe2b81816b
2 changed files with 6 additions and 1 deletions

5
.coveragerc Normal file
View File

@ -0,0 +1,5 @@
[run]
dynamic_context = test_function
[html]
show_contexts = True

View File

@ -9,7 +9,7 @@ setenv =
COMBO_SETTINGS_FILE=tests/settings.py
TOX_WORK_DIR={toxworkdir}
SETUPTOOLS_USE_DISTUTILS=stdlib
coverage: COVERAGE=--cov-report xml --cov-report html --cov=combo/
coverage: COVERAGE=--cov-report xml --cov-report html --cov=combo/ --cov-config .coveragerc -v
DB_ENGINE=django.db.backends.postgresql_psycopg2
passenv =
BRANCH_NAME