-
Notifications
You must be signed in to change notification settings - Fork 12
/
tox.ini
46 lines (43 loc) · 929 Bytes
/
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 =
py{310}-dj{32,42}
py{310,311,312}-dj{32,42,50,51,main}
py{313}-dj{51,main}
docs
slowtests
[testenv]
usedevelop = true
extras = all,tests
commands =
python -Wd {envbindir}/coverage run tests/manage.py test -v2 --keepdb {posargs:testapp}
coverage report -m
deps =
dj32: Django>=3.2,<4.0
dj42: Django>=4.2,<5.0
dj50: Django>=5.0,<5.1
dj51: Django>=5.1,<5.2
djmain: https://github.com/django/django/archive/main.tar.gz
[testenv:docs]
deps =
Sphinx
furo
Django
django-ckeditor
django-content-editor
django-tree-queries>=0.4.1
django-imagefield
html-sanitizer
requests
changedir = docs
commands = make html
skip_install = true
allowlist_externals = make
[testenv:slowtests]
usedevelop = true
extras = all,tests
setenv =
SLOWTESTS=1
commands =
python -Wd tests/manage.py test -v2 --keepdb testapp
deps =
django-slowtests