-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathtox.ini
45 lines (39 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
[tox]
envlist =
; Wagtail 5.2 LTS
py{39,310,311,312}-django42-wagtail52-{sqlite,postgres}
py{310,311,312}-django50-wagtail52-{sqlite,postgres}
; Wagtail 6.1 + 6.2
py{39,310,311,312}-django42-wagtail{61,62}-{sqlite,postgres}
py{310,311,312}-django50-wagtail{61,62}-{sqlite,postgres}
py{310,311,312,313}-django51-wagtail63-{sqlite,postgres}
[testenv]
allowlist_externals = coverage
commands = coverage run -p testmanage.py test --deprecation all --noinput
basepython =
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
deps =
coverage
django42: django>=4.2,<5
django50: django>=5.0,<5.1
django51: django>=5.1,<5.2
wagtail52: wagtail~=5.2.0
wagtail61: wagtail~=6.1.0
wagtail62: wagtail~=6.2.0
wagtail63: wagtail~=6.3.0
postgres: psycopg2>=2.9
extras = testing
setenv =
postgres: DATABASE_URL={env:DATABASE_URL:postgres:///wagtail_ab_testing}
[testenv:wagtailmain]
allowlist_externals = coverage
deps =
coverage
git+https://github.com/wagtail/wagtail.git@main#egg=Wagtail
extras = testing
setenv =
postgres: DATABASE_URL={env:DATABASE_URL:postgres:///wagtail_ab_testing}