jenkins: show execution context in coverage reports (#60446)
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
|
||||
BRANCH_NAME={env:BRANCH_NAME:}
|
||||
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 =
|
||||
pytest-cov
|
||||
pytest-django
|
||||
|
|
Loading…
Reference in New Issue