-
Notifications
You must be signed in to change notification settings - Fork 33
/
tox.ini
46 lines (40 loc) · 1.37 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
[tox]
envlist =
{py37}-django22-drf{311,312,313},
{py37,py38,py39}-django30-drf{311,312,313,314},
{py37,py38,py39}-django31-drf{311,312,313,314},
{py37,py38,py39,py310,py311}-django32-drf{311,312,313,314},
{py38,py39,py310,py311}-django40-drf{313,314},
{py38,py39,py310,py311}-django41-drf{313,314},
{py38,py39,py310,py311}-django42-drf{314},
{py310,py311}-djangomain-drf{314},
[testenv]
commands = pytest --cov drf_chunked_upload
envdir = {toxworkdir}/venvs/{envname}
setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONWARNINGS=once
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,<4.3
djangomain: https://github.com/django/django/archive/main.tar.gz
drf311: djangorestframework>=3.11,<3.12
drf312: djangorestframework>=3.12,<3.13
drf313: djangorestframework>=3.13,<3.14
drf314: djangorestframework>=3.14,<4.0
-rrequirements/testing.txt
[pytest]
python_files = tests.py test_*.py *_tests.py
[testenv:py38-djangomain]
ignore_outcome = true
[testenv:py39-djangomain]
ignore_outcome = true
[testenv:py310-djangomain]
ignore_outcome = true
[testenv:py311-djangomain]
ignore_outcome = true