| 1 |
[tox] |
| 2 |
envlist = |
| 3 |
py310-django{42,50}-djangorestframework{314}{,-pytest} |
| 4 |
py{311}-django{42}-djangorestframework{314}{,-pytest} |
| 5 |
py{310,311,312,313}-django{50}-djangorestframework{315,316,317}{,-pytest} |
| 6 |
py{310,311,312,313}-django{51}-djangorestframework{315,316,317}{,-pytest} |
| 7 |
py{310,311,312,313}-django{52}-djangorestframework{315,316,317,318}{,-pytest} |
| 8 |
py{312,313}-django{60}-djangorestframework{317,318}{,-pytest} |
| 9 |
py{312,313}-django{61}-djangorestframework{318}{,-pytest} |
| 10 |
py310-django42-djangorestframework314-djangofilter235 |
| 11 |
py311-django51-djangorestframework317-djangofilter251 |
| 12 |
py312-django{52,60,61}-djangorestframework318-djangofilter261 |
| 13 |
|
| 14 |
[testenv] |
| 15 |
usedevelop = true |
| 16 |
setenv = |
| 17 |
DJANGO_SETTINGS_MODULE=settings |
| 18 |
; Hack: use an environment var to specify the test runner (to avoid using |
| 19 |
; "nopytest" as a factor). |
| 20 |
DRFG_TEST_RUNNER=./tests/manage.py test |
| 21 |
pytest: DRFG_TEST_RUNNER=-m pytest |
| 22 |
commands = |
| 23 |
coverage run {env:DRFG_TEST_RUNNER} {posargs:tests/django_restframework_gis_tests} |
| 24 |
|
| 25 |
deps = |
| 26 |
django42: Django~=4.2.0 |
| 27 |
django50: Django~=5.0.0 |
| 28 |
django51: Django~=5.1.0 |
| 29 |
django52: Django~=5.2.0 |
| 30 |
django60: Django~=6.0.0 |
| 31 |
django61: Django~=6.1.0 |
| 32 |
djangorestframework314: djangorestframework~=3.14.0 |
| 33 |
djangorestframework315: djangorestframework~=3.15.0 |
| 34 |
djangorestframework316: djangorestframework~=3.16.0 |
| 35 |
djangorestframework317: djangorestframework~=3.17.0 |
| 36 |
djangorestframework318: djangorestframework~=3.18.0 |
| 37 |
djangofilter235: django-filter~=23.5 |
| 38 |
djangofilter251: django-filter~=25.1 |
| 39 |
djangofilter261: django-filter~=26.1 |
| 40 |
-rrequirements-test.txt |
| 41 |
pytest: pytest |
| 42 |
pytest: pytest-django |
| 43 |
|
| 44 |
[flake8] |
| 45 |
exclude = .tox |