jenkins: show execution context in coverage reports (#60446)
This commit is contained in:
parent
b0fe753a58
commit
6f9ebcd866
|
@ -1,2 +1,6 @@
|
||||||
[run]
|
[run]
|
||||||
|
dynamic_context = test_function
|
||||||
omit = */.tox/*
|
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 =
|
setenv =
|
||||||
SETUPTOOLS_USE_DISTUTILS=stdlib
|
SETUPTOOLS_USE_DISTUTILS=stdlib
|
||||||
commands =
|
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
|
codestyle: pre-commit run --all-files --show-diff-on-failure
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
deps = coverage
|
deps = coverage
|
||||||
|
|
Loading…
Reference in New Issue