-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtox.ini
125 lines (108 loc) · 1.77 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[tox]
envlist =
py36-dj22,
py36-dj30,
py36-dj31,
py37-dj22,
py37-dj30,
py37-dj31,
py38-dj22,
py38-dj30,
py38-dj31,
py39-dj22,
py39-dj30,
py39-dj31,
coverage,
flake8
[pytest]
django_find_project = false
python_paths = tests/django_project
DJANGO_SETTINGS_MODULE = project.settings
[testenv]
commands = pytest tests
deps =
pytest
pytest-django
pytest-pythonpath
[testenv:py36-dj22]
basepython = python3.6
deps =
Django>=2.2,<2.3
{[testenv]deps}
[testenv:py36-dj30]
basepython = python3.6
deps =
Django>=3.0,<3.1
{[testenv]deps}
[testenv:py36-dj31]
basepython = python3.6
deps =
Django>=3.1,<3.2
{[testenv]deps}
[testenv:py37-dj22]
basepython = python3.7
deps =
Django>=2.2,<2.3
{[testenv]deps}
[testenv:py37-dj30]
basepython = python3.7
deps =
Django>=3.0,<3.1
{[testenv]deps}
[testenv:py37-dj31]
basepython = python3.7
deps =
Django>=3.1,<3.2
{[testenv]deps}
[testenv:py38-dj22]
basepython = python3.8
deps =
Django>=2.2,<2.3
{[testenv]deps}
[testenv:py38-dj30]
basepython = python3.8
deps =
Django>=3.0,<3.1
{[testenv]deps}
[testenv:py38-dj31]
basepython = python3.8
deps =
Django>=3.1,<3.2
{[testenv]deps}
[testenv:py39-dj22]
basepython = python3.9
deps =
Django>=2.2,<2.3
{[testenv]deps}
[testenv:py39-dj30]
basepython = python3.9
deps =
Django>=3.0,<3.1
{[testenv]deps}
[testenv:py39-dj31]
basepython = python3.9
deps =
Django>=3.1,<3.2
{[testenv]deps}
[testenv:coverage]
basepython = python3.9
deps =
Django>=3.1,<3.2
{[testenv]deps}
coverage
pytest-cov
commands =
pytest --cov=bpmappers tests
[testenv:flake8]
basepython = python3.9
deps =
flake8
commands =
flake8 bpmappers/
# tox-gh-actionsパッケージの設定
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39