forked from fedora-infra/anitya
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zuul.yaml
153 lines (127 loc) · 2.92 KB
/
.zuul.yaml
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
- job:
name: tox-mypy
description: |
Run static-linker tests with mypy.
Uses tox with ``mypy`` environment.
parent: tox
run: ci/test-tox.yaml
vars:
tox_env: mypy
nodeset:
nodes:
name: test-node
label: pod-python-f33
- job:
name: tox-lint
description: |
Run lint tests using tox.
Uses tox with ``lint`` environment.
parent: tox
run: ci/test-tox.yaml
vars:
tox_env: lint
nodeset:
nodes:
name: test-node
label: pod-python-f33
- job:
name: tox-format
description: |
Run format tests using tox.
Uses tox with ``format`` environment.
parent: tox
run: ci/test-tox.yaml
vars:
tox_env: format
nodeset:
nodes:
name: test-node
label: pod-python-f33
- job:
name: tox-python38
description: |
Run unit tests for a Python project under cPython version 3.8.
Uses tox with the ``py38`` environment.
Ensures that the python38 interpreter is installed.
parent: tox
run: ci/test-tox.yaml
vars:
tox_env: py38
dependencies:
- python38
nodeset:
nodes:
name: test-node
label: pod-python-f33
- job:
name: tox-python39
description: |
Run unit tests for a Python project under cPython version 3.9.
Uses tox with the ``py39`` environment.
Ensures that the python39 interpreter is installed.
parent: tox
run: ci/test-tox.yaml
vars:
tox_env: py39
dependencies:
- python39
nodeset:
nodes:
name: test-node
label: pod-python-f33
- job:
name: anitya-tox-docs
description: |
Build docs in tox specifically for anitya.
Uses tox with the ``docs`` environment.
Ensure all the dependencies for docs building are
installed.
parent: tox
run: ci/test-tox.yaml
vars:
tox_env: docs
dependencies:
- graphviz
- python3-sphinxcontrib-httpdomain
- python3-sqlalchemy_schemadisplay
nodeset:
nodes:
name: test-node
label: pod-python-f33
- job:
name: tox-bandit
description: |
Run bandit tests on python code.
Uses tox with the ``bandit`` environment.
parent: tox
run: ci/test-tox.yaml
vars:
tox_env: bandit
nodeset:
nodes:
name: test-node
label: pod-python-f33
- job:
name: tox-diff-cover
description: |
Run coverage on python code.
Uses tox with the ``diff-cover`` environment.
parent: tox
run: ci/test-tox.yaml
vars:
tox_env: "py38,diff-cover"
nodeset:
nodes:
name: test-node
label: pod-python-f33
- project:
check:
jobs:
- tox-mypy
- tox-lint
- tox-format
- tox-python38
- tox-python39
- anitya-tox-docs
- tox-bandit
- tox-diff-cover