django-constance/tox.ini
Rotzbua 6eaa7a6602
chore: update supported versions (#545)
- drop eol django 3.2 4.0 4.1
- drop eol python 3.7
- drop untested PyPy support
- prepare python 3.12 test
- update GH action dependencies
- add dependabot to maintain GH action dependencies
2024-06-11 17:46:29 +05:00

39 lines
928 B
INI

[tox]
requires =
tox<4
envlist =
py{38,39,310,311,312}-dj{42}-{unittest,pytest}
py{310,311,312}-dj{50}-{unittest,pytest}
py{310,311,312}-dj{main}-{unittest,pytest}
[testenv]
deps =
redis
coverage
django-picklefield
dj42: django>=4.2,<4.3
dj50: django>=5.0,<5.1
dj51: django>=5.1,<5.2
djmain: https://github.com/django/django/archive/main.tar.gz
pytest: pytest
pytest: pytest-cov
pytest: pytest-django
usedevelop = True
ignore_outcome =
djmain: True
commands =
unittest: coverage run {envbindir}/django-admin test -v2
unittest: coverage report
unittest: coverage xml
pytest: pytest --cov=. --ignore=.tox --disable-pytest-warnings --cov-report=xml --cov-append {toxinidir}
setenv =
PYTHONDONTWRITEBYTECODE=1
DJANGO_SETTINGS_MODULE=tests.settings
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312