jenkins: show execution context in coverage reports (#60446)
This commit is contained in:
parent
8d1735134c
commit
fe2b81816b
|
@ -0,0 +1,5 @@
|
||||||
|
[run]
|
||||||
|
dynamic_context = test_function
|
||||||
|
|
||||||
|
[html]
|
||||||
|
show_contexts = True
|
2
tox.ini
2
tox.ini
|
@ -9,7 +9,7 @@ setenv =
|
||||||
COMBO_SETTINGS_FILE=tests/settings.py
|
COMBO_SETTINGS_FILE=tests/settings.py
|
||||||
TOX_WORK_DIR={toxworkdir}
|
TOX_WORK_DIR={toxworkdir}
|
||||||
SETUPTOOLS_USE_DISTUTILS=stdlib
|
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
|
DB_ENGINE=django.db.backends.postgresql_psycopg2
|
||||||
passenv =
|
passenv =
|
||||||
BRANCH_NAME
|
BRANCH_NAME
|
||||||
|
|
Loading…
Reference in New Issue