tox: run tests against djangorestframework 3.14 (#81950)
gitea/welco/pipeline/head This commit looks good Details

This commit is contained in:
Frédéric Péters 2023-10-03 16:22:17 +02:00
parent 7d6b3549b3
commit a71993b73f
2 changed files with 3 additions and 2 deletions

View File

@ -113,7 +113,7 @@ setup(
'django-ckeditor<4.5.4',
'django-haystack<3.2',
'django-taggit<3',
'djangorestframework>=3.3,<3.13',
'djangorestframework>=3.3,<3.15',
'requests',
'whoosh',
'XStatic-Select2',

View File

@ -1,5 +1,6 @@
[tox]
envlist =
py3-django32-drf314
py3-django32-black-coverage-pylint-drf312
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/welco/{env:BRANCH_NAME:}
@ -29,8 +30,8 @@ deps =
lxml
git+https://git.entrouvert.org/debian/django-ckeditor.git
black: pre-commit
drf39: djangorestframework>=3.9,<3.10
drf312: djangorestframework>=3.12,<3.13
drf314: djangorestframework>=3.14,<3.15
commands =
pylint: ./pylint.sh welco/
py.test {env:COVERAGE:} {posargs:tests/}