run tests against django 2.2 (#50110)

This commit is contained in:
Emmanuel Cazenave 2021-01-13 16:35:55 +01:00
parent 8b3fa9d9dc
commit 6d3b8f399c
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/passerelle-reunion-fsn/{env:BRANCH_NAME:}
envlist = py3-django111
envlist = py3-{django111,django22}
[testenv]
usedevelop = True
@ -9,10 +9,11 @@ setenv =
PASSERELLE_SETTINGS_FILE=tests/settings.py
deps =
django111: django>=1.11,<1.12
django22: django>=2.2,<2.3
git+https://git.entrouvert.org/passerelle.git
django-webtest
psycopg2-binary
pytest
pytest-django
commands =
django111: py.test {posargs: --junitxml=junit-{envname}.xml tests/}
py.test {posargs: --junitxml=junit-{envname}.xml tests/}