forked from modlinltd/django-advanced-filters
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
54 lines (45 loc) · 860 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
52
53
54
[tox]
envlist =
py{37,py37}-django{22,32}
py{38,py38,39}-django{22,32,40}
py310-django{32,40}
report
[pycodestyle]
max-line-length = 120
[testenv]
usedevelop = true
deps =
-rtest-reqs.txt
django22: Django>=2.2,<3.0
django32: Django>=3.2,<3.3
django40: Django>=4.0,<4.1
depends =
!report: clean
report: *
parallel_show_output = true
commands =
pytest --cov-append .
pycodestyle --exclude=urls.py,migrations,.ropeproject -v advanced_filters
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
pypy-3.7: pypy37
pypy-3.8: pypy38
[gh-actions:env]
DJANGO =
2.2: django22
3.2: django32
4.0: django40
[testenv:report]
deps = coverage
skip_install = true
commands =
coverage report
coverage html
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase