1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-09 22:38:19 +02:00
django-mailbox/tox.ini
2026-01-27 09:55:05 +01:00

48 lines
1,015 B
INI

[tox]
# sort by django version, next by python version
envlist=
flake8
py{312,313,314}-django60
py{310,311,312,313,314}-django52
py{310,311,312}-django51
py{310,311,312}-django50
py{38,39,310,311}-django42
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
passenv=
EMAIL_IMAP_SERVER
EMAIL_ACCOUNT
EMAIL_PASSWORD
EMAIL_SMTP_SERVER
deps=
django60: Django>=6.0,<6.1
django52: Django>=5.2,<6.0
django51: Django>=5.1,<5.2
django50: Django==5.0,<5.1
django42: Django>=4.2,<5.0
-r{toxinidir}/test_requirements.txt
sitepackages=False
commands=
python {toxinidir}/manage.py makemigrations --check --dry-run
python -Wd manage.py test -v2 {posargs}
[testenv:docs]
deps=
sphinx
-r{toxinidir}/rtd_requirements.txt
.
commands=make html clean SPHINXOPTS="-W --keep-going"
changedir={toxinidir}/docs
allowlist_externals=make
[testenv:flake8]
deps=flake8
commands=flake8 django_mailbox