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]
|
||||
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:}
|
||||
|
||||
[testenv]
|
||||
|
@ -27,6 +29,8 @@ deps =
|
|||
lxml
|
||||
git+https://git.entrouvert.org/debian/django-ckeditor.git
|
||||
black: pre-commit
|
||||
drf39: djangorestframework>=3.9.2,<3.10
|
||||
drf312: djangorestframework>=3.12,<3.13
|
||||
commands =
|
||||
pylint: ./pylint.sh welco/
|
||||
py.test {env:COVERAGE:} {posargs:tests/}
|
||||
|
|
Loading…
Reference in New Issue