tox: test with both django 2.2 & 3.2 versions (#65290)

This commit is contained in:
Paul Marillonnet 2022-05-16 11:51:31 +02:00
parent 2818b86697
commit aec4413a3f
1 changed files with 5 additions and 0 deletions

View File

@ -8,11 +8,13 @@ toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/authentic2-cut/{env:BRANCH_NAME:}
envlist =
py3-dj22-drf39-djtables1211
py3-dj22-drf312-djtables211
py3-dj32-drf312-djtables241
[tox:jenkins]
envlist =
py3-dj22-drf39-djtables1211
py3-dj22-drf312-djtables211
py3-dj32-drf312-djtables241
check-migrations
code-style
pylint
@ -38,10 +40,13 @@ deps =
local: ../authentic2
# dependency constraints for authentic
py3: file-magic
dj22: django<2.3
dj32: django>=3.2.12,<3.3
drf39: djangorestframework>=3.9.2,<3.10
drf312: djangorestframework>=3.12,<3.13
djtables1211: django-tables2==1.21.1
djtables211: django-tables2==2.1.1
djtables241: django-tables2==2.4.1
psycopg2-binary<2.9
oldldap: python-ldap<3
ldaptools