jenkins: show execution context in coverage reports (#60446)
This commit is contained in:
parent
b0fe753a58
commit
6f9ebcd866
|
@ -1,2 +1,6 @@
|
|||
[run]
|
||||
dynamic_context = test_function
|
||||
omit = */.tox/*
|
||||
|
||||
[html]
|
||||
show_contexts = True
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -12,7 +12,7 @@ toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/eopayment/{env:BRANCH_NAME:}
|
|||
setenv =
|
||||
SETUPTOOLS_USE_DISTUTILS=stdlib
|
||||
commands =
|
||||
py3: py.test {posargs: --junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=eopayment/ tests}
|
||||
py3: py.test {posargs: --junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov-config .coveragerc --cov=eopayment/ tests}
|
||||
codestyle: pre-commit run --all-files --show-diff-on-failure
|
||||
usedevelop = True
|
||||
deps = coverage
|
||||
|
|
Loading…
Reference in New Issue