-
Notifications
You must be signed in to change notification settings - Fork 3
/
tox.ini
46 lines (44 loc) · 1.18 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[tox]
envlist =
{py36,py37,py38,py39,py310,pypy39,pypy310}-django-3.2
{py38,py39,py310,pypy39,pypy310}-django-4.0
{py38,py39,py310,py311}-django-4.1
{py38,py39,py310,py311}-django-4.2
{py310,py311,py312}-django-5.0
{py310,py311,py312,py313}-django-5.1
{py310,py311,py312,py313}-django-main
skip_missing_interpreters = true
[testenv]
basepython =
py36: python3.6
py37: python3.7
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
pypy39: pypy3.9
pypy310: pypy3.10
deps=
django-3.2: Django>=3.2,<3.3
django-4.0: Django>=4.0,<4.1
django-4.1: Django>=4.1,<4.2
django-4.2: Django>=4.2,<4.3
django-5.0: Django>=5.0,<5.1
django-5.1: Django>=5.1,<5.2
django-main: https://github.com/django/django/archive/main.tar.gz
backports.zoneinfo;python_version<"3.9"
coverage
parameterized
commands =
python --version
python -m pip show Django
coverage run --rcfile={toxinidir}/.coveragerc runtests.py
coverage report
[testenv:pre-commit]
deps =
pre-commit
basepython = python3.13
commands =
pre-commit run --all-files --show-diff-on-failure