-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
55 lines (49 loc) · 1.07 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
[tox]
envlist =
django_master-py{39,38}
django32-py{39,38,37}
django31-py{39,38,37}
django30-py{39,38,37}
django22-py{39,38,37}
lint
skipsdist = true
[pytest]
django_find_project = false
python_paths = {toxinidir}
[testenv]
whitelist_externals = poetry
deps =
pytest>=6.2.3
pytest-cov>=2.11.1
pytest-django>=4.2.0
django22: {[django]2.2.x}
django30: {[django]3.0.x}
django31: {[django]3.1.x}
django32: {[django]3.2.x}
django_master: {[django]master}
commands =
pip install poetry
poetry install -v
pytest --cov=./doma {posargs} -W error::DeprecationWarning
usedevelop = false
[testenv:django_master-py{39,38,py3}]
commands =
pip install poetry
poetry install -v
pytest --cov=./doma {posargs} -W error::DeprecationWarning
[testenv:lint]
deps =
pre-commit
commands =
pre-commit run --all-files
[django]
2.2.x =
Django>=2.2,<2.3
3.0.x =
Django>=3.0,<3.1
3.1.x =
Django>=3.1,<3.2
3.2.x =
Django>=3.2,<3.3
master =
https://github.com/django/django/tarball/main