-
-
Notifications
You must be signed in to change notification settings - Fork 497
/
tox.ini
66 lines (61 loc) · 1.67 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
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[gh-actions:env]
DJANGO =
4.2: django42
5.0: django50
5.1: django51
TARGET =
pil: pil
imagemagick: imagemagick
graphicsmagick: graphicsmagick
redis: redis
wand: wand
dbm: dbm
qa: qa
[tox]
skipsdist = True
envlist =
py39-qa,
py{39,310,311,312}-django{42}-{pil,imagemagick,graphicsmagick,redis,dynamodb,wand,pgmagick,dbm,vipsthumbnail}
py{310,311,312}-django{50}-{pil,imagemagick,graphicsmagick,redis,dynamodb,wand,pgmagick,dbm,vipsthumbnail}
py{310,311,312,313}-django{51}-{pil,imagemagick,graphicsmagick,redis,dynamodb,wand,pgmagick,dbm,vipsthumbnail}
[testenv]
deps =
coverage[toml]
pillow
redis: redis
dynamodb: boto
pgmagick: pgmagick
wand: wand
django42: django>=4.2,<4.3
django50: django>=5.0,<5.1
django51: django>=5.1,<5.2
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}
pil: DJANGO_SETTINGS_MODULE=tests.settings.pil
imagemagick: DJANGO_SETTINGS_MODULE=tests.settings.imagemagick
graphicsmagick: DJANGO_SETTINGS_MODULE=tests.settings.graphicsmagick
vipsthumbnail: DJANGO_SETTINGS_MODULE=tests.settings.vipsthumbnail
redis: DJANGO_SETTINGS_MODULE=tests.settings.redis
dynamodb: DJANGO_SETTINGS_MODULE=tests.settings.dynamodb
wand: DJANGO_SETTINGS_MODULE=tests.settings.wand
pgmagick: DJANGO_SETTINGS_MODULE=tests.settings.pgmagick
dbm: DJANGO_SETTINGS_MODULE=tests.settings.dbm
commands =
coverage run {envbindir}/django-admin test -v2 {posargs:}
coverage report -m
coverage xml
[testenv:py39-qa]
skip_install = True
deps =
ruff
rstvalidator
commands =
ruff check sorl/
python -m rstvalidator README.rst CHANGES.rst CONTRIBUTING.rst