tox: add test environments relying on djangorestframework 3.12 (#64289)
This commit is contained in:
parent
45d0cca338
commit
671b96294e
7
tox.ini
7
tox.ini
|
@ -4,7 +4,10 @@
|
|||
# and then run "tox" from this directory.
|
||||
[tox]
|
||||
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/hobo/{env:BRANCH_NAME:}
|
||||
envlist = py3-django22-coverage-{hobo,multipublik,multitenant,schemas,authentic,passerelle},py3-black
|
||||
envlist =
|
||||
py3-django22-drf39-{hobo,multipublik,multitenant,schemas,authentic,passerelle}
|
||||
py3-django22-drf312-coverage-{hobo,multipublik,multitenant,schemas,authentic,passerelle}
|
||||
py3-black
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
|
@ -31,6 +34,8 @@ setenv =
|
|||
coverage: COVERAGE=--cov-report xml:coverage-{envname}.xml --cov-report html:htmlcov-{envname} --cov=hobo/ --cov-config .coveragerc
|
||||
fast: NOMIGRATIONS=--nomigrations
|
||||
deps:
|
||||
drf39: djangorestframework>=3.9.2,<3.10
|
||||
drf312: djangorestframework>=3.12,<3.13
|
||||
django22: django>=2.2,<2.3
|
||||
pytest!=6.0.0
|
||||
pytest-cov
|
||||
|
|
Loading…
Reference in New Issue