2013-03-17 19:23:00 +04:00
|
|
|
[tox]
|
2017-05-19 08:32:24 +03:00
|
|
|
envlist =
|
2025-11-29 11:41:29 +03:00
|
|
|
py{310,311,312}-django{42}
|
2025-02-27 10:57:36 +03:00
|
|
|
py{310,311,312,313}-django{51}
|
|
|
|
|
py{310,311,312,313}-django{52}
|
2025-11-29 11:41:29 +03:00
|
|
|
py{312,313,314}-django{60}
|
|
|
|
|
# TODO: reinstate running on postgres: py310-django{42}-postgres
|
2017-06-01 11:39:22 +03:00
|
|
|
docs
|
2013-03-17 19:23:00 +04:00
|
|
|
|
|
|
|
|
[testenv]
|
2017-06-01 11:33:30 +03:00
|
|
|
setenv =
|
|
|
|
|
PYTHONWARNINGS = all
|
2017-07-14 17:38:02 +03:00
|
|
|
postgres: DEFAULT_DATABASE = postgres:///default
|
|
|
|
|
postgres: SECONDARY_DATABASE = postgres:///secondary
|
2015-09-29 11:02:00 +03:00
|
|
|
deps =
|
2023-12-12 14:05:41 +03:00
|
|
|
pytest
|
|
|
|
|
pytest-cov
|
|
|
|
|
pytest-django
|
2017-07-14 17:38:02 +03:00
|
|
|
dj-database-url
|
2023-12-12 13:50:15 +03:00
|
|
|
django42: Django ~= 4.2
|
2025-02-27 10:57:36 +03:00
|
|
|
django51: Django ~= 5.1
|
2025-08-20 11:30:07 +03:00
|
|
|
django52: Django ~= 5.2
|
2025-11-29 11:41:29 +03:00
|
|
|
django60: Django == 6.0rc1
|
2021-11-18 14:20:51 +03:00
|
|
|
djangomain: https://github.com/django/django/archive/main.tar.gz
|
2017-07-14 17:38:02 +03:00
|
|
|
postgres: psycopg2
|
2017-05-19 08:32:24 +03:00
|
|
|
commands =
|
2023-12-20 13:30:27 +03:00
|
|
|
pytest --cov --cov-report=term-missing --cov-report=xml .
|
2013-03-17 19:23:00 +04:00
|
|
|
|
2013-07-05 14:07:10 +04:00
|
|
|
[testenv:docs]
|
2017-05-22 14:06:16 +03:00
|
|
|
deps =
|
|
|
|
|
Sphinx
|
|
|
|
|
sphinx_rtd_theme
|
2019-07-15 23:11:48 +03:00
|
|
|
-r{toxinidir}/docs/_ext/djangodummy/requirements.txt
|
2015-12-28 16:49:03 +03:00
|
|
|
changedir = docs
|
|
|
|
|
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
2017-05-22 14:05:32 +03:00
|
|
|
|
2023-12-12 13:50:15 +03:00
|
|
|
[gh-actions]
|
|
|
|
|
python =
|
|
|
|
|
3.10: py310
|
|
|
|
|
3.11: py311
|
2023-12-18 15:45:36 +03:00
|
|
|
3.12: py312
|
2025-02-27 10:57:36 +03:00
|
|
|
3.13: py313
|
2025-11-29 11:41:29 +03:00
|
|
|
3.14: py314
|