tox: run tests against djangorestframework 3.14 (#81950)
gitea/welco/pipeline/head This commit looks good
Details
gitea/welco/pipeline/head This commit looks good
Details
This commit is contained in:
parent
7d6b3549b3
commit
a71993b73f
2
setup.py
2
setup.py
|
@ -113,7 +113,7 @@ setup(
|
||||||
'django-ckeditor<4.5.4',
|
'django-ckeditor<4.5.4',
|
||||||
'django-haystack<3.2',
|
'django-haystack<3.2',
|
||||||
'django-taggit<3',
|
'django-taggit<3',
|
||||||
'djangorestframework>=3.3,<3.13',
|
'djangorestframework>=3.3,<3.15',
|
||||||
'requests',
|
'requests',
|
||||||
'whoosh',
|
'whoosh',
|
||||||
'XStatic-Select2',
|
'XStatic-Select2',
|
||||||
|
|
3
tox.ini
3
tox.ini
|
@ -1,5 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
|
py3-django32-drf314
|
||||||
py3-django32-black-coverage-pylint-drf312
|
py3-django32-black-coverage-pylint-drf312
|
||||||
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/welco/{env:BRANCH_NAME:}
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/welco/{env:BRANCH_NAME:}
|
||||||
|
|
||||||
|
@ -29,8 +30,8 @@ deps =
|
||||||
lxml
|
lxml
|
||||||
git+https://git.entrouvert.org/debian/django-ckeditor.git
|
git+https://git.entrouvert.org/debian/django-ckeditor.git
|
||||||
black: pre-commit
|
black: pre-commit
|
||||||
drf39: djangorestframework>=3.9,<3.10
|
|
||||||
drf312: djangorestframework>=3.12,<3.13
|
drf312: djangorestframework>=3.12,<3.13
|
||||||
|
drf314: djangorestframework>=3.14,<3.15
|
||||||
commands =
|
commands =
|
||||||
pylint: ./pylint.sh welco/
|
pylint: ./pylint.sh welco/
|
||||||
py.test {env:COVERAGE:} {posargs:tests/}
|
py.test {env:COVERAGE:} {posargs:tests/}
|
||||||
|
|
Loading…
Reference in New Issue