-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathtox.ini
61 lines (53 loc) · 1.06 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[tox]
skip_missing_interpreters = True
envlist =
py{39,310,311}-dj42-wt{52,60,61,62,63}
py{310,311,312}-dj50-wt{52,60,61,62,63}
py{310,311,312}-dj51-wt{63}
flake8,isort,docs
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[base]
deps = jinja2>=2.11,<3.2
[testenv]
commands = python runtests.py {posargs}
pip_pre = True
deps =
{[base]deps}
dj42: django>=4.2,<4.3
dj50: django>=5.0,<5.1
dj51: django>=5.1,<5.2
djHEAD: django
wt52: Wagtail>=5.2,<5.3
wt60: Wagtail>=6.0,<6.1
wt61: Wagtail>=6.1,<6.2
wt62: Wagtail>=6.2,<6.3
wt63: Wagtail>=6.3,<6.4
wtHEAD: Wagtail
[testenv:flake8]
basepython = python3
skipsdist = True
usedevelop = True
deps =
{[base]deps}
flake8
commands = flake8 wagtailschemaorg/ tests/
[testenv:isort]
basepython = python3
skipsdist = True
usedevelop = True
deps =
{[base]deps}
isort
commands = isort --check-only --diff wagtailschemaorg/ tests/
[testenv:docs]
basepython = python3
skipsdist = True
usedevelop = True
deps = -rdocs/requirements.txt
whitelist_externals = make
commands = make -C docs clean html