jenkins: show execution context in coverage reports (#60446)
This commit is contained in:
parent
04de3e7ae2
commit
82dd2c01a5
|
@ -0,0 +1,5 @@
|
||||||
|
[run]
|
||||||
|
dynamic_context = test_function
|
||||||
|
|
||||||
|
[html]
|
||||||
|
show_contexts = True
|
2
tox.ini
2
tox.ini
|
@ -22,7 +22,7 @@ setenv =
|
||||||
DJANGO_SETTINGS_MODULE=bijoe.settings
|
DJANGO_SETTINGS_MODULE=bijoe.settings
|
||||||
BIJOE_SETTINGS_FILE=tests/settings.py
|
BIJOE_SETTINGS_FILE=tests/settings.py
|
||||||
SETUPTOOLS_USE_DISTUTILS=stdlib
|
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 =
|
deps =
|
||||||
dj22: django>=2.2,<2.3
|
dj22: django>=2.2,<2.3
|
||||||
coverage
|
coverage
|
||||||
|
|
Loading…
Reference in New Issue