-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathtox.ini
169 lines (144 loc) · 3.25 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
[tox]
envlist =
addonscript-py311
balrogscript-py311
beetmoverscript-py311
bitrisescript-py311
bouncerscript-py311
configloader-py38
configloader-py311
githubscript-py311
init-py311
# iscript and notarization_poller are python 3.8 only
iscript-py38
notarization_poller-py38
pushapkscript-py311
pushflatpakscript-py311
pushmsixscript-py311
scriptworker_client-py38
scriptworker_client-py311
shipitscript-py311
signingscript-py311
treescript-py311
ruff-py311
skipsdist = true
[testenv]
deps =
pyparsing
tox
passenv =
HOME
TRAVIS
TRAVIS_JOB_ID
TRAVIS_BRANCH
[testenv:addonscript-py311]
changedir = {toxinidir}/addonscript
commands =
tox -e py311
- tox -e coveralls
[testenv:balrogscript-py311]
changedir = {toxinidir}/balrogscript
commands =
tox -e py311
- tox -e coveralls
[testenv:beetmoverscript-py311]
changedir = {toxinidir}/beetmoverscript
commands =
tox -e py311
- tox -e coveralls
[testenv:bitrisescript-py311]
changedir = {toxinidir}/bitrisescript
commands =
tox -e py311
- tox -e coveralls
[testenv:bouncerscript-py311]
changedir = {toxinidir}/bouncerscript
commands =
tox -e py311
- tox -e coveralls
[testenv:configloader-py38]
changedir = {toxinidir}/configloader
commands =
tox -e py38
[testenv:configloader-py311]
changedir = {toxinidir}/configloader
commands =
tox -e py311
- tox -e coveralls
[testenv:init-py311]
deps = -r requirements/test.txt
commands =
pytest -n auto tests
[testenv:iscript-py38]
changedir = {toxinidir}/iscript
commands =
tox -e py38
- tox -e coveralls
[testenv:githubscript-py311]
changedir = {toxinidir}/githubscript
commands =
tox -e py311
- tox -e coveralls
[testenv:notarization_poller-py38]
changedir = {toxinidir}/notarization_poller
commands =
tox -e py38
- tox -e coveralls
[testenv:pushapkscript-py311]
changedir = {toxinidir}/pushapkscript
commands =
tox -e py311
- tox -e coveralls
[testenv:pushflatpakscript-py311]
changedir = {toxinidir}/pushflatpakscript
commands =
tox -e py311
- tox -e coveralls
[testenv:pushmsixscript-py311]
changedir = {toxinidir}/pushmsixscript
commands =
tox -e py311
- tox -e coveralls
[testenv:scriptworker_client-py38]
changedir = {toxinidir}/scriptworker_client
commands =
tox -e py38,mypy
[testenv:scriptworker_client-py311]
changedir = {toxinidir}/scriptworker_client
commands =
tox -e py311,mypy
- tox -e coveralls
[testenv:shipitscript-py311]
changedir = {toxinidir}/shipitscript
commands =
tox -e py311
[testenv:signingscript-py311]
changedir = {toxinidir}/signingscript
commands =
tox -e py311
- tox -e coveralls
[testenv:treescript-py311]
changedir = {toxinidir}/treescript
commands =
tox -e py311
- tox -e coveralls
[testenv:ruff-py311]
deps =
# keep in sync with .pre-commit-config.yaml
ruff==0.9.0
commands =
ruff --version
ruff check --verbose {toxinidir}
[testenv:ruff-format]
deps =
# keep in sync with .pre-commit-config.yaml
ruff==0.9.0
commands =
ruff --version
ruff format --diff --verbose {toxinidir}
[testenv:yamllint]
deps =
yamllint
commands =
yamllint --version
yamllint --strict -c {toxinidir}/.yamllint {toxinidir}