forked from RealGeeks/django-modelclone
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
54 lines (47 loc) · 1.03 KB
/
tox.ini
File metadata and controls
54 lines (47 loc) · 1.03 KB
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
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
downloadcache = {toxworkdir}/.cache
env_list =
py313-django42
py313-django50
py313-django51
py313-django52
[testenv]
commands = pytest tests --tb=short -x --pdb
setenv =
DJANGO_SETTINGS_MODULE = sampleproject.settings
PYTHONPATH = {toxinidir}:{toxinidir}/sampleproject
[base]
deps =
pytest-django
webtest
django-webtest
pytest
lxml
cssselect
mock
Pillow
setuptools
[testenv:py313-django42]
basepython = python3.13
deps =
django>=4.2,<5.0
{[base]deps}
[testenv:py313-django50]
basepython = python3.13
deps =
django>=5.0,<5.1
{[base]deps}
[testenv:py313-django51]
basepython = python3.13
deps =
django>=5.1,<5.2
{[base]deps}
[testenv:py313-django52]
basepython = python3.13
deps =
django>=5.2,<6.0
{[base]deps}