ci: limit tests to django 3.2 (#75308)
gitea/lingo/pipeline/head This commit looks good Details

This commit is contained in:
Lauréline Guérin 2023-03-10 10:21:47 +01:00
parent 32e4887944
commit 5ba065e246
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
1 changed files with 3 additions and 11 deletions

14
tox.ini
View File

@ -1,8 +1,7 @@
[tox] [tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/lingo/{env:BRANCH_NAME:} toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/lingo/{env:BRANCH_NAME:}
envlist = envlist =
py3-django32, coverage-py3-django32-codestyle,
coverage-py3-django22-codestyle,
pylint pylint
[testenv] [testenv]
@ -18,7 +17,6 @@ passenv =
BRANCH_NAME BRANCH_NAME
deps = deps =
django32: django>=3.2,<3.3 django32: django>=3.2,<3.3
django22: django>=2.2,<2.3
pytest-cov pytest-cov
pytest-django pytest-django
pytest-freezegun pytest-freezegun
@ -29,10 +27,8 @@ deps =
pylint pylint
pylint-django pylint-django
django32: django-webtest django32: django-webtest
django22: django-webtest<1.9.3
pyquery pyquery
django32: psycopg2-binary django32: psycopg2-binary
django22: psycopg2-binary<2.9
django-mellon>=1.13 django-mellon>=1.13
django-filter>=2.4,<2.5 django-filter>=2.4,<2.5
git+https://git.entrouvert.org/publik-django-templatetags.git git+https://git.entrouvert.org/publik-django-templatetags.git
@ -56,16 +52,12 @@ deps =
WebTest WebTest
mock<4 mock<4
httmock httmock
django32: django>=3.2,<3.3
django22: django>=2.2,<2.3
django-mellon>=1.13 django-mellon>=1.13
pylint pylint
pylint-django pylint-django
django32: django-webtest django-webtest
django22: django-webtest<1.9.3
pyquery pyquery
django32: psycopg2-binary psycopg2-binary
django22: psycopg2-binary<2.9
git+https://git.entrouvert.org/publik-django-templatetags.git git+https://git.entrouvert.org/publik-django-templatetags.git
commands = commands =
./getlasso3.sh ./getlasso3.sh