-
Notifications
You must be signed in to change notification settings - Fork 30
/
tox.ini
51 lines (47 loc) · 827 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[tox]
envlist =
py{36,37,38,39}-dj{22,30,31},
py{36,37,38,39,310}-dj32,
py{38,39,310}-dj40,
py{38,39,310}-dj41,
coverage,
flake8
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310, coverage, flake8
[testenv]
commands = pytest
setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONWARNINGS=once
deps =
dj22: Django>=2.2,<2.3
dj30: Django>=3.0,<3.1
dj31: Django>=3.1,<3.2
dj32: Django>=3.2,<3.3
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
pyftpdlib
pytest
pytest-django
pytest-pythonpath
[testenv:coverage]
basepython = python3.10
deps =
django>=4.1,<4.2
coverage
pytest-cov
{[testenv]deps}
commands =
pytest --cov=django_ftpserver
[testenv:flake8]
skip_install = true
basepython = python3.10
deps =
flake8
commands =
flake8 django_ftpserver/