From 6d3b8f399c6622b22541521c772f9b46290dca88 Mon Sep 17 00:00:00 2001 From: Emmanuel Cazenave Date: Wed, 13 Jan 2021 16:35:55 +0100 Subject: [PATCH] run tests against django 2.2 (#50110) --- tox.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 5ec9a94..4c95a9e 100644 --- a/tox.ini +++ b/tox.ini @@ -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/}