This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 424
/
tox.ini
71 lines (65 loc) · 1.71 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
71
[tox]
envlist = {py36}-{dj22,dj30,dj31,dj32}
{py38,py310}-{dj32}
{py310}-{dj40,dj41}
skipsdist = True
[testenv]
basepython =
py36: python3.6
py37: python3.7
py38: python3.8
py39: python3.9
py310: python3.10
deps =
dj22: Django==2.2.25
dj30: Django==3.0.14
dj31: Django==3.1.14
dj32: Django==3.2.9
dj40: Django==4.0
dj41: Django==4.1
six
# dev
django-template-debug==0.3.5
py36: django-debug-toolbar==2.2
py37: django-debug-toolbar==2.2
py38: django-debug-toolbar==3.2.1
py39: django-debug-toolbar==3.2.2
py310: django-debug-toolbar==3.2.2
ipdb==0.13.9
py36: ipython==7.16.1
py37: ipython==7.22.0
py38: ipython==7.22.0
py39: ipython==7.29.0
py310: ipython==7.29.0
# demo
pytz==2021.3
py36: django-formtools==2.2
py37: django-formtools==2.2
py38: django-formtools==2.2
py39: django-formtools==2.3
py310: django-formtools==2.3
# test
django-webtest==1.9.8
needle==0.5.0
pyquery==1.4.3
py36: pyvirtualdisplay==2.1
py37: pyvirtualdisplay==2.1
py38: pyvirtualdisplay==2.1
py39: pyvirtualdisplay==2.2
py310: pyvirtualdisplay==2.2
selenium==3.141.0
webtest==3.0.0
# deploy
# uwsgi==2.0.19.1
uwsgi==2.0.20
psycopg2
commands = {posargs:python -Wd ./manage.py test}
setenv =
PYTHONPATH={toxinidir}
NEEDLE_BASELINE_DIR={toxinidir}/tests/visual/screenshots/
NEEDLE_OUTPUT_DIR={toxinidir}/tests/visual/screenshots_test/
passenv =
NEEDLE_SAVE_BASELINE
VISUAL
DISPLAY
NODISPLAY