-
Notifications
You must be signed in to change notification settings - Fork 400
/
tox.ini
70 lines (58 loc) · 1.32 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
62
63
64
65
66
67
68
69
70
[tox]
minversion = 1.9
envlist =
lint
docs
examples
linkcheck
py{38,39,310,311,312,py39,py310}
py{38,39,310,311,312}-django42-mongo-alchemy
py{py39,py310}-django42-mongo-alchemy
py{310,311,312}-django51-mongo-alchemy
pypy310-django51-mongo-alchemy
py310-djangomain-mongo-alchemy
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
pypy-3.9: pypy39
pypy-3.10: pypy310
[testenv]
deps =
mypy
alchemy: SQLAlchemy
mongo: mongoengine
mongo: mongomock
# mongomock imports pkg_resources, provided by setuptools.
mongo: setuptools>=66.1.1
django{42,51,main}: Pillow
django42: Django>=4.2,<5.0
django51: Django>=5.1,<5.2
djangomain: https://github.com/django/django/archive/main.tar.gz
setenv =
py: DJANGO_SETTINGS_MODULE=tests.djapp.settings
allowlist_externals = make
commands = make test
[testenv:docs]
extras = doc
whitelist_externals = make
commands = make doc spelling
[testenv:examples]
deps =
-rexamples/requirements.txt
whitelist_externals = make
commands = make example-test
[testenv:linkcheck]
extras = doc
whitelist_externals = make
commands = make linkcheck
[testenv:lint]
deps =
-rexamples/requirements.txt
check_manifest
extras = dev
whitelist_externals = make
commands = make lint