ci: run tests against django 3.2 (#74840)
gitea/wcs/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
Frédéric Péters 2023-02-24 14:05:35 +01:00 committed by Gitea
parent 5939cb8f18
commit 569ec19840
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[tox] [tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/wcs/{env:BRANCH_NAME:main}/{env:EXECUTOR_NUMBER:} toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/wcs/{env:BRANCH_NAME:main}/{env:EXECUTOR_NUMBER:}
envlist = py3-django22-codestyle-coverage, pylint envlist = py3-django32-codestyle-coverage, pylint
[testenv] [testenv]
setenv = setenv =
@ -34,7 +34,7 @@ deps =
pre-commit pre-commit
pyzbar pyzbar
# others... # others...
django22: django>=2.2,<2.3 django32: django>=3.2,<3.3
commands = commands =
./getlasso3.sh ./getlasso3.sh
py.test {posargs:-v {env:COVERAGE:} --numprocesses={env:NUMPROCESSES:1} --dist loadfile --junitxml=junit-{envname}.xml tests/} py.test {posargs:-v {env:COVERAGE:} --numprocesses={env:NUMPROCESSES:1} --dist loadfile --junitxml=junit-{envname}.xml tests/}
@ -64,7 +64,7 @@ deps =
docutils docutils
langdetect langdetect
git+https://git.entrouvert.org/godo.js.git git+https://git.entrouvert.org/godo.js.git
django>=2.2,<2.3 django>=3.2,<3.3
astroid!=2.5.7 astroid!=2.5.7
pylint pylint
Quixote>=3.0,<3.2 Quixote>=3.0,<3.2