@@ -15,13 +15,14 @@ concurrency:
1515
1616jobs :
1717 docs :
18+ # Don't upgrade python version; there's a bug in 3.10 sphinx
1819 runs-on : ubuntu-latest
1920 steps :
2021 - uses : actions/checkout@v2
21- - name : Set up Python 3.9
22+ - name : Set up Python
2223 uses : actions/setup-python@v2
2324 with :
24- python-version : 3.9
25+ python-version : " 3.9"
2526 cache : ' pip'
2627 - name : Install nox.
2728 run : python -m pip install nox
@@ -31,10 +32,10 @@ jobs:
3132 runs-on : ubuntu-latest
3233 steps :
3334 - uses : actions/checkout@v2
34- - name : Set up Python 3.9
35+ - name : Set up Python "3.10"
3536 uses : actions/setup-python@v2
3637 with :
37- python-version : 3.9
38+ python-version : " 3.10 "
3839 cache : ' pip'
3940 - name : Install nox.
4041 run : python -m pip install nox
@@ -47,10 +48,10 @@ jobs:
4748 runs-on : ubuntu-latest
4849 steps :
4950 - uses : actions/checkout@v2
50- - name : Set up Python 3.9
51+ - name : Set up Python "3.10"
5152 uses : actions/setup-python@v2
5253 with :
53- python-version : 3.9
54+ python-version : " 3.10 "
5455 cache : ' pip'
5556 - name : Install system dependencies.
5657 run : |
6667 ./gapic-showcase run &
6768 cd -
6869 env :
69- SHOWCASE_VERSION : 0.18 .0
70+ SHOWCASE_VERSION : 0.19 .0
7071 - name : Install nox.
7172 run : python -m pip install nox
7273 - name : Install protoc 3.12.1.
@@ -91,10 +92,10 @@ jobs:
9192 run : |
9293 sudo mkdir -p /tmp/workspace/tests/cert/
9394 sudo chown -R ${USER} /tmp/workspace/
94- - name : Set up Python 3.9
95+ - name : Set up Python "3.10"
9596 uses : actions/setup-python@v2
9697 with :
97- python-version : 3.9
98+ python-version : " 3.10 "
9899 cache : ' pip'
99100 - name : Copy mtls files
100101 run : cp tests/cert/mtls.* /tmp/workspace/tests/cert/
@@ -133,23 +134,23 @@ jobs:
133134 cd ..
134135 nox -s ${{ matrix.target }}
135136 env :
136- SHOWCASE_VERSION : 0.18 .0
137+ SHOWCASE_VERSION : 0.19 .0
137138 # TODO(yon-mg): add compute unit tests
138139 showcase-unit :
139140 strategy :
140141 matrix :
141- python : [3.6, 3.7, 3.8, 3.9]
142+ python : [" 3.6", " 3.7", " 3.8", " 3.9", "3.10" ]
142143 variant : ['', _alternative_templates]
143144 exclude :
144- - python : 3.6
145+ - python : " 3.6"
145146 variant : _alternative_templates
146147 runs-on : ubuntu-latest
147148 steps :
148149 - uses : actions/checkout@v2
149- - name : Set up Python ${{ matrix.python }}
150+ - name : Set up Python " ${{ matrix.python }}"
150151 uses : actions/setup-python@v2
151152 with :
152- python-version : ${{ matrix.python }}
153+ python-version : " ${{ matrix.python }}"
153154 cache : ' pip'
154155 - name : Install system dependencies.
155156 run : |
@@ -168,15 +169,15 @@ jobs:
168169 - name : Run unit tests.
169170 run : nox -s showcase_unit${{ matrix.variant }}-${{ matrix.python }}
170171 env :
171- SHOWCASE_VERSION : 0.18 .0
172+ SHOWCASE_VERSION : 0.19 .0
172173 showcase-unit-add-iam-methods :
173174 runs-on : ubuntu-latest
174175 steps :
175176 - uses : actions/checkout@v2
176- - name : Set up Python 3.9
177+ - name : Set up Python "3.10"
177178 uses : actions/setup-python@v2
178179 with :
179- python-version : 3.9
180+ python-version : " 3.10 "
180181 cache : ' pip'
181182 - name : Install system dependencies.
182183 run : |
@@ -195,18 +196,18 @@ jobs:
195196 - name : Run unit tests.
196197 run : nox -s showcase_unit_add_iam_methods
197198 env :
198- SHOWCASE_VERSION : 0.18 .0
199+ SHOWCASE_VERSION : 0.19 .0
199200 showcase-mypy :
200201 runs-on : ubuntu-latest
201202 strategy :
202203 matrix :
203204 variant : ['', _alternative_templates]
204205 steps :
205206 - uses : actions/checkout@v2
206- - name : Set up Python 3.9
207+ - name : Set up Python "3.10"
207208 uses : actions/setup-python@v2
208209 with :
209- python-version : 3.9
210+ python-version : " 3.10 "
210211 cache : ' pip'
211212 - name : Install system dependencies.
212213 run : |
@@ -225,15 +226,15 @@ jobs:
225226 - name : Typecheck the generated output.
226227 run : nox -s showcase_mypy${{ matrix.variant }}
227228 env :
228- SHOWCASE_VERSION : 0.18 .0
229+ SHOWCASE_VERSION : 0.19 .0
229230 snippetgen :
230231 runs-on : ubuntu-latest
231232 steps :
232233 - uses : actions/checkout@v2
233- - name : Set up Python 3.9
234+ - name : Set up Python "3.10"
234235 uses : actions/setup-python@v2
235236 with :
236- python-version : 3.9
237+ python-version : " 3.10 "
237238 cache : ' pip'
238239 - name : Install system dependencies.
239240 run : |
@@ -246,7 +247,7 @@ jobs:
246247 unit :
247248 strategy :
248249 matrix :
249- python : [3.6, 3.7, 3.8, 3.9]
250+ python : [" 3.6", " 3.7", " 3.8", " 3.9", "3.10" ]
250251 runs-on : ubuntu-latest
251252 steps :
252253 - uses : actions/checkout@v2
@@ -267,10 +268,10 @@ jobs:
267268 fragment :
268269 strategy :
269270 matrix :
270- python : [3.6, 3.7, 3.8, 3.9]
271+ python : [" 3.6", " 3.7", " 3.8", " 3.9", "3.10" ]
271272 variant : ['', _alternative_templates]
272273 exclude :
273- - python : 3.6
274+ - python : " 3.6"
274275 variant : _alternative_templates
275276 runs-on : ubuntu-latest
276277 steps :
@@ -321,10 +322,10 @@ jobs:
321322 runs-on : ubuntu-latest
322323 steps :
323324 - uses : actions/checkout@v2
324- - name : Set up Python 3.9
325+ - name : Set up Python 3.10
325326 uses : actions/setup-python@v2
326327 with :
327- python-version : 3.9
328+ python-version : " 3.10 "
328329 cache : ' pip'
329330 - name : Install nox.
330331 run : |
@@ -339,10 +340,10 @@ jobs:
339340 runs-on : ubuntu-latest
340341 steps :
341342 - uses : actions/checkout@v2
342- - name : Set up Python 3.9
343+ - name : Set up Python "3.10"
343344 uses : actions/setup-python@v2
344345 with :
345- python-version : 3.9
346+ python-version : " 3.10 "
346347 cache : ' pip'
347348 - name : Install autopep8
348349 run : |
0 commit comments