jenkins: show execution context in coverage reports (#60446)

This commit is contained in:
Emmanuel Cazenave 2022-01-11 16:00:18 +01:00
parent 04de3e7ae2
commit 82dd2c01a5
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

@ -22,7 +22,7 @@ setenv =
DJANGO_SETTINGS_MODULE=bijoe.settings
BIJOE_SETTINGS_FILE=tests/settings.py
SETUPTOOLS_USE_DISTUTILS=stdlib
coverage: COVERAGE=--junit-xml=test_results.xml --cov=bijoe --cov-report xml
coverage: COVERAGE=--junit-xml=test_results.xml --cov=bijoe --cov-report xml --cov-report html --cov-config .coveragerc
deps =
dj22: django>=2.2,<2.3
coverage