jenkins: show execution context in coverage reports (#60446)
This commit is contained in:
parent
6b22764afd
commit
04674bb16f
|
@ -0,0 +1,5 @@
|
||||||
|
[run]
|
||||||
|
dynamic_context = test_function
|
||||||
|
|
||||||
|
[html]
|
||||||
|
show_contexts = True
|
2
tox.ini
2
tox.ini
|
@ -11,7 +11,7 @@ setenv =
|
||||||
CHRONO_SETTINGS_FILE=tests/settings.py
|
CHRONO_SETTINGS_FILE=tests/settings.py
|
||||||
BRANCH_NAME={env:BRANCH_NAME:}
|
BRANCH_NAME={env:BRANCH_NAME:}
|
||||||
SETUPTOOLS_USE_DISTUTILS=stdlib
|
SETUPTOOLS_USE_DISTUTILS=stdlib
|
||||||
coverage: COVERAGE=--junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=chrono/
|
coverage: COVERAGE=--junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=chrono/ --cov-config .coveragerc
|
||||||
deps =
|
deps =
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-django
|
pytest-django
|
||||||
|
|
Loading…
Reference in New Issue