ci: stop testing against django 2.2
gitea/bijoe/pipeline/head This commit looks good Details

This commit is contained in:
Frédéric Péters 2023-03-31 12:13:34 +02:00
parent 452bac3d4c
commit 2292be365f
1 changed files with 3 additions and 9 deletions

12
tox.ini
View File

@ -6,7 +6,6 @@
[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/bijoe/{env:BRANCH_NAME:}
envlist =
py3-django22,
py3-django32,
code-style
@ -25,7 +24,6 @@ setenv =
SETUPTOOLS_USE_DISTUTILS=stdlib
coverage: COVERAGE=--junit-xml=test_results.xml --cov=bijoe --cov-report xml --cov-report html --cov-config .coveragerc
deps =
django22: django>=2.2,<2.3
django32: django>=3.2,<3.3
coverage
pytest
@ -34,22 +32,18 @@ deps =
pytest-freezegun
WebTest
django32: django-webtest
django22: django-webtest<1.9.3
mock
pyquery
tabulate
sentry_sdk<0.12.3
django32: psycopg2
django22: psycopg2<2.9
django32: psycopg2-binary
django22: psycopg2-binary<2.9
django22: Django-Select2<6
django32: Django-Select2>7.7,<7.8
django22,django32: djangorestframework>=3.7
django22,django32: https://git.entrouvert.org/entrouvert/hobo/archive/main.tar.gz
django32: djangorestframework>=3.7
django32: https://git.entrouvert.org/entrouvert/hobo/archive/main.tar.gz
commands =
py3-django22,py3-django32: py.test {posargs: --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=bijoe tests/}
py3-django32: py.test {posargs: --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=bijoe tests/}
[pytest]
filterwarnings =