tox: add test environments relying on djangorestframework 3.12 (#64290)
This commit is contained in:
parent
e2934f92c6
commit
da41d0b6bd
6
tox.ini
6
tox.ini
|
@ -1,5 +1,7 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py3-django22-black-coverage-pylint
|
envlist =
|
||||||
|
py3-django22-black-coverage-pylint-drf39
|
||||||
|
py3-django22-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:}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
@ -27,6 +29,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.2,<3.10
|
||||||
|
drf312: djangorestframework>=3.12,<3.13
|
||||||
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