tox: don't run tests against python 2 (#58940)

This commit is contained in:
Serghei Mihai 2021-11-24 12:40:19 +01:00
parent cc54798189
commit 0f59994d80
1 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,7 @@
# and then run "tox" from this directory.
[tox]
envlist = py2,py3
envlist = py3
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/eopayment/{env:BRANCH_NAME:}
[testenv]
@ -12,7 +12,6 @@ toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/eopayment/{env:BRANCH_NAME:}
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