-
Notifications
You must be signed in to change notification settings - Fork 26
/
tox.ini
32 lines (28 loc) · 877 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
# tox (https://tox.readthedocs.io/) 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]
envlist =
{py37,py38}-django22
{py37,py38}-django30
{py37,py38}-django31
{py38,py39}-django32
{py39,py10}-django40
{py39,py10}-django41
{py39,py10}-django42
{py10}-django50
skip_missing_interpreters = true
[testenv]
deps =
django22: Django>=2.2,<3.0
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2,<5.0
django50: Django>=5.0,<5.1
selenium<4.3.0
commands = {envpython} tests/manage.py test testapp {posargs}
setenv = PYTHONPATH = .:{toxworkdir}