tox.ini: fix coverage source target (bis)

This commit is contained in:
Benjamin Dauvergne 2020-09-25 18:34:15 +02:00
parent 24580e5096
commit 3b5ec1d076
1 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,7 @@ setenv =
SETUPTOOLS_USE_DISTUTILS=stdlib
JUNIT={tty::-o junit_suite_name={envname} --junit-xml=junit-{envname}.xml}
COVERAGE={tty::--cov-branch --cov-append --cov-report xml --cov-report html}
COVERAGE={tty::--cov --cov-append --cov-report xml --cov-report html --cov-config=tox.ini}
fast: FAST=--nomigrations
reusedb: REUSEDB=--reuse-db
!nosw: SW={tty:--sw:}
@ -76,6 +76,7 @@ deps =
py3: django-filter<2.3
drf34: djangorestframework>=3.4,<3.4.1
drf39: djangorestframework>=3.9.2,<3.10
usedevelop = True
commands =
py2: ./getlasso.sh
py3: ./getlasso3.sh
@ -131,3 +132,4 @@ source =
authentic2_journal
authentic2_provisionning_ldap
django_rbac
branch = True