tox.ini: use pytest-cov test context (#84017)
gitea/authentic/pipeline/head This commit looks good Details

This commit is contained in:
Benjamin Dauvergne 2023-11-30 14:42:29 +01:00
parent 1d92a060a1
commit 28afd8c425
1 changed files with 1 additions and 2 deletions

View File

@ -30,7 +30,7 @@ setenv =
SETUPTOOLS_USE_DISTUTILS=stdlib
JUNIT={tty::-o junit_suite_name={envname} --junit-xml=junit-{envname}.xml}
COVERAGE={tty::--cov --cov-append --cov-report xml --cov-report html --cov-config=tox.ini}
COVERAGE={tty::--cov --cov-append --cov-report xml --cov-report html --cov-context=test --cov-config=tox.ini}
fast: FAST=--nomigrations
reusedb: REUSEDB=--reuse-db
passenv=
@ -189,7 +189,6 @@ source =
authentic2_idp_oidc
django_rbac
branch = True
dynamic_context = test_function
[coverage:html]
show_contexts = True