django-dbtemplates/tox.ini

56 lines
1.1 KiB
INI
Raw Normal View History

[tox]
minversion = 4.0
envlist =
flake8
py3{8,9,10,11,12}-dj42
py3{10,11,12}-dj{50}
py3{10,11,12,13}-dj{51,52}
py3{12,13}-dj{main}
[gh-actions]
python =
2022-06-15 12:39:30 +00:00
3.8: py38
3.9: py39
2022-06-15 12:20:06 +00:00
3.10: py310
2022-06-15 12:39:30 +00:00
3.10: py310, flake8
2022-06-15 12:48:52 +00:00
3.11: py311
3.12: py312
3.13: py313
[testenv]
skipsdist = true
package = editable
basepython =
py38: python3.8
py39: python3.9
2022-06-15 12:20:06 +00:00
py310: python3.10
2022-06-15 12:48:52 +00:00
py311: python3.11
py312: python3.12
py313: python3.13
setenv =
DJANGO_SETTINGS_MODULE = dbtemplates.test_settings
deps =
2018-10-01 07:51:11 +00:00
-r requirements/tests.txt
dj42: Django<4.3
dj50: Django<5.1
dj51: Django<5.2
# TODO change this afte Django 5.2 is out
dj52: Django==5.2a1
djmain: https://github.com/django/django/archive/main.tar.gz#egg=django
commands =
python --version
python -c "import django ; print(django.VERSION)"
2022-06-15 12:20:06 +00:00
coverage run {envbindir}/django-admin test -v2 {posargs:dbtemplates}
coverage report
coverage xml
[testenv:flake8]
2022-06-15 12:39:30 +00:00
basepython = python3.10
commands = flake8 dbtemplates
deps = flake8
[flake8]
exclude=.tox
2022-08-09 15:34:14 +00:00
ignore=E501,E127,E128,E124