Projet

Général

Profil

0001-tox-don-t-run-tests-against-python-2-58940.patch

Serghei Mihai, 24 novembre 2021 12:42

Télécharger (998 octets)

Voir les différences:

Subject: [PATCH] tox: don't run tests against python 2 (#58940)

 tox.ini | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
tox.ini
4 4
# and then run "tox" from this directory.
5 5

  
6 6
[tox]
7
envlist = py2,py3
7
envlist = py3
8 8
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/eopayment/{env:BRANCH_NAME:}
9 9

  
10 10
[testenv]
......
12 12
setenv =
13 13
  SETUPTOOLS_USE_DISTUTILS=stdlib
14 14
commands =
15
  py2: py.test {posargs: --junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=eopayment/ tests}
16 15
  py3: py.test {posargs: --junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=eopayment/ tests}
17 16
usedevelop = True
18 17
deps = coverage
19
-