tox: SETUPTOOLS_USE_DISTUTILS=stdlib
gitea/eopayment/pipeline/head Build started... Details

This commit is contained in:
Thomas NOËL 2020-09-01 11:21:07 +02:00
parent 736b20e162
commit b7f6718b7e
1 changed files with 3 additions and 1 deletions

View File

@ -9,10 +9,12 @@ toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/eopayment/{env:BRANCH_NAME:}
[testenv]
# django.contrib.auth is not tested it does not work with our templates
usedevelop = True
setenv =
SETUPTOOLS_USE_DISTUTILS=stdlib
commands =
py2: 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=eopayment/ tests}
usedevelop = True
deps = coverage
pytest
pytest-freezegun