@@ -16,6 +16,7 @@ concurrency:
16
16
env :
17
17
SHOWCASE_VERSION : 0.35.0
18
18
PROTOC_VERSION : 3.20.2
19
+ ALL_PYTHON : ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
19
20
20
21
jobs :
21
22
docs :
38
39
matrix :
39
40
# Run mypy on all of the supported python versions listed in setup.py
40
41
# https://github.com/python/mypy/blob/master/setup.py
41
- python : ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
42
+ python : ${{ ALL_PYTHON }}
43
+ exclude :
44
+ # Remove once https://github.com/googleapis/gapic-generator-python/issues/2303 is fixed
45
+ - python : 3.7
42
46
runs-on : ubuntu-latest
43
47
steps :
44
48
- uses : actions/checkout@v4
56
60
# Run showcase tests on the lowest and highest supported runtimes
57
61
matrix :
58
62
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2121) Remove `showcase_w_rest_async` target when async rest is GA.
59
- python : ["3.7 ", "3.13 "]
63
+ python : ["${{ ALL_PYTHON }}[0] ", "${{ ALL_PYTHON }}[-1] "]
60
64
target : [showcase, showcase_alternative_templates, showcase_w_rest_async]
61
65
logging_scope : ["", "google"]
62
66
@@ -147,7 +151,7 @@ jobs:
147
151
showcase-unit :
148
152
strategy :
149
153
matrix :
150
- python : ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
154
+ python : ${{ ALL_PYTHON }}
151
155
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2121) Remove `_w_rest_async` variant when async rest is GA.
152
156
variant : ['', _alternative_templates, _mixins, _alternative_templates_mixins, _w_rest_async]
153
157
logging_scope : ["", "google"]
0 commit comments