diff --git a/tox.ini b/tox.ini index cf69ec3..1db8b7e 100644 --- a/tox.ini +++ b/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