@@ -15,13 +15,14 @@ concurrency:
15
15
16
16
jobs :
17
17
docs :
18
+ # Don't upgrade python version; there's a bug in 3.10 sphinx
18
19
runs-on : ubuntu-latest
19
20
steps :
20
21
- uses : actions/checkout@v2
21
- - name : Set up Python 3.9
22
+ - name : Set up Python
22
23
uses : actions/setup-python@v2
23
24
with :
24
- python-version : 3.9
25
+ python-version : " 3.9"
25
26
cache : ' pip'
26
27
- name : Install nox.
27
28
run : python -m pip install nox
@@ -31,10 +32,10 @@ jobs:
31
32
runs-on : ubuntu-latest
32
33
steps :
33
34
- uses : actions/checkout@v2
34
- - name : Set up Python 3.9
35
+ - name : Set up Python "3.10"
35
36
uses : actions/setup-python@v2
36
37
with :
37
- python-version : 3.9
38
+ python-version : " 3.10 "
38
39
cache : ' pip'
39
40
- name : Install nox.
40
41
run : python -m pip install nox
@@ -47,10 +48,10 @@ jobs:
47
48
runs-on : ubuntu-latest
48
49
steps :
49
50
- uses : actions/checkout@v2
50
- - name : Set up Python 3.9
51
+ - name : Set up Python "3.10"
51
52
uses : actions/setup-python@v2
52
53
with :
53
- python-version : 3.9
54
+ python-version : " 3.10 "
54
55
cache : ' pip'
55
56
- name : Install system dependencies.
56
57
run : |
66
67
./gapic-showcase run &
67
68
cd -
68
69
env :
69
- SHOWCASE_VERSION : 0.18 .0
70
+ SHOWCASE_VERSION : 0.19 .0
70
71
- name : Install nox.
71
72
run : python -m pip install nox
72
73
- name : Install protoc 3.12.1.
@@ -91,10 +92,10 @@ jobs:
91
92
run : |
92
93
sudo mkdir -p /tmp/workspace/tests/cert/
93
94
sudo chown -R ${USER} /tmp/workspace/
94
- - name : Set up Python 3.9
95
+ - name : Set up Python "3.10"
95
96
uses : actions/setup-python@v2
96
97
with :
97
- python-version : 3.9
98
+ python-version : " 3.10 "
98
99
cache : ' pip'
99
100
- name : Copy mtls files
100
101
run : cp tests/cert/mtls.* /tmp/workspace/tests/cert/
@@ -133,23 +134,23 @@ jobs:
133
134
cd ..
134
135
nox -s ${{ matrix.target }}
135
136
env :
136
- SHOWCASE_VERSION : 0.18 .0
137
+ SHOWCASE_VERSION : 0.19 .0
137
138
# TODO(yon-mg): add compute unit tests
138
139
showcase-unit :
139
140
strategy :
140
141
matrix :
141
- python : [3.6, 3.7, 3.8, 3.9]
142
+ python : [" 3.6", " 3.7", " 3.8", " 3.9", "3.10" ]
142
143
variant : ['', _alternative_templates]
143
144
exclude :
144
- - python : 3.6
145
+ - python : " 3.6"
145
146
variant : _alternative_templates
146
147
runs-on : ubuntu-latest
147
148
steps :
148
149
- uses : actions/checkout@v2
149
- - name : Set up Python ${{ matrix.python }}
150
+ - name : Set up Python " ${{ matrix.python }}"
150
151
uses : actions/setup-python@v2
151
152
with :
152
- python-version : ${{ matrix.python }}
153
+ python-version : " ${{ matrix.python }}"
153
154
cache : ' pip'
154
155
- name : Install system dependencies.
155
156
run : |
@@ -168,15 +169,15 @@ jobs:
168
169
- name : Run unit tests.
169
170
run : nox -s showcase_unit${{ matrix.variant }}-${{ matrix.python }}
170
171
env :
171
- SHOWCASE_VERSION : 0.18 .0
172
+ SHOWCASE_VERSION : 0.19 .0
172
173
showcase-unit-add-iam-methods :
173
174
runs-on : ubuntu-latest
174
175
steps :
175
176
- uses : actions/checkout@v2
176
- - name : Set up Python 3.9
177
+ - name : Set up Python "3.10"
177
178
uses : actions/setup-python@v2
178
179
with :
179
- python-version : 3.9
180
+ python-version : " 3.10 "
180
181
cache : ' pip'
181
182
- name : Install system dependencies.
182
183
run : |
@@ -195,18 +196,18 @@ jobs:
195
196
- name : Run unit tests.
196
197
run : nox -s showcase_unit_add_iam_methods
197
198
env :
198
- SHOWCASE_VERSION : 0.18 .0
199
+ SHOWCASE_VERSION : 0.19 .0
199
200
showcase-mypy :
200
201
runs-on : ubuntu-latest
201
202
strategy :
202
203
matrix :
203
204
variant : ['', _alternative_templates]
204
205
steps :
205
206
- uses : actions/checkout@v2
206
- - name : Set up Python 3.9
207
+ - name : Set up Python "3.10"
207
208
uses : actions/setup-python@v2
208
209
with :
209
- python-version : 3.9
210
+ python-version : " 3.10 "
210
211
cache : ' pip'
211
212
- name : Install system dependencies.
212
213
run : |
@@ -225,15 +226,15 @@ jobs:
225
226
- name : Typecheck the generated output.
226
227
run : nox -s showcase_mypy${{ matrix.variant }}
227
228
env :
228
- SHOWCASE_VERSION : 0.18 .0
229
+ SHOWCASE_VERSION : 0.19 .0
229
230
snippetgen :
230
231
runs-on : ubuntu-latest
231
232
steps :
232
233
- uses : actions/checkout@v2
233
- - name : Set up Python 3.9
234
+ - name : Set up Python "3.10"
234
235
uses : actions/setup-python@v2
235
236
with :
236
- python-version : 3.9
237
+ python-version : " 3.10 "
237
238
cache : ' pip'
238
239
- name : Install system dependencies.
239
240
run : |
@@ -246,7 +247,7 @@ jobs:
246
247
unit :
247
248
strategy :
248
249
matrix :
249
- python : [3.6, 3.7, 3.8, 3.9]
250
+ python : [" 3.6", " 3.7", " 3.8", " 3.9", "3.10" ]
250
251
runs-on : ubuntu-latest
251
252
steps :
252
253
- uses : actions/checkout@v2
@@ -267,10 +268,10 @@ jobs:
267
268
fragment :
268
269
strategy :
269
270
matrix :
270
- python : [3.6, 3.7, 3.8, 3.9]
271
+ python : [" 3.6", " 3.7", " 3.8", " 3.9", "3.10" ]
271
272
variant : ['', _alternative_templates]
272
273
exclude :
273
- - python : 3.6
274
+ - python : " 3.6"
274
275
variant : _alternative_templates
275
276
runs-on : ubuntu-latest
276
277
steps :
@@ -321,10 +322,10 @@ jobs:
321
322
runs-on : ubuntu-latest
322
323
steps :
323
324
- uses : actions/checkout@v2
324
- - name : Set up Python 3.9
325
+ - name : Set up Python 3.10
325
326
uses : actions/setup-python@v2
326
327
with :
327
- python-version : 3.9
328
+ python-version : " 3.10 "
328
329
cache : ' pip'
329
330
- name : Install nox.
330
331
run : |
@@ -339,10 +340,10 @@ jobs:
339
340
runs-on : ubuntu-latest
340
341
steps :
341
342
- uses : actions/checkout@v2
342
- - name : Set up Python 3.9
343
+ - name : Set up Python "3.10"
343
344
uses : actions/setup-python@v2
344
345
with :
345
- python-version : 3.9
346
+ python-version : " 3.10 "
346
347
cache : ' pip'
347
348
- name : Install autopep8
348
349
run : |
0 commit comments