jenkins: show execution context in coverage reports (#60446)

This commit is contained in:
Emmanuel Cazenave 2022-01-11 16:13:24 +01:00
parent b0fe753a58
commit 6f9ebcd866
2 changed files with 5 additions and 1 deletions

View File

@ -1,2 +1,6 @@
[run]
dynamic_context = test_function
omit = */.tox/*
[html]
show_contexts = True

View File

@ -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