diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..a1de588 --- /dev/null +++ b/tox.ini @@ -0,0 +1,28 @@ +[tox] +envlist = + py38-django40, py39-django40, py310-django40, py311-django40, py312-django40, + py310-django50, py311-django50, py312-django50 + +[gh-actions] +python = + 3.8: py38 + 3.9: py39 + 3.10: py310 + 3.11: py311 + 3.12: py312 + +[testenv] +description = Run Pytest tests with multiple django versions +usedevelop = True +deps = + django40: django>=4.2,<5.0 + django50: django>=5.0,<5.3 + pytest + pytest-django + pytest-cov + django-stubs +commands = + pytest --cov + +setenv = + DJANGO_SETTINGS_MODULE = kernel.settings \ No newline at end of file