Skip to content

Commit 37fd75c

Browse files
committed
update syntax
1 parent 0e89e1f commit 37fd75c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
matrix:
4040
# Run mypy on all of the supported python versions listed in setup.py
4141
# https://github.com/python/mypy/blob/master/setup.py
42-
python: ${ALL_PYTHON}
42+
python: ${{ fromJSON(ALL_PYTHON) }}
4343
exclude:
4444
# Remove once https://github.com/googleapis/gapic-generator-python/issues/2303 is fixed
4545
- python: 3.7
@@ -60,7 +60,7 @@ jobs:
6060
# Run showcase tests on the lowest and highest supported runtimes
6161
matrix:
6262
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2121) Remove `showcase_w_rest_async` target when async rest is GA.
63-
python: ["${ALL_PYTHON}[0]", "${ALL_PYTHON}[-1]"]
63+
python: ["${{ fromJSON(ALL_PYTHON) }}[0]", "${{ fromJSON(ALL_PYTHON) }}[-1]"]
6464
target: [showcase, showcase_w_rest_async]
6565
logging_scope: ["", "google"]
6666

@@ -151,7 +151,7 @@ jobs:
151151
showcase-unit:
152152
strategy:
153153
matrix:
154-
python: ${ALL_PYTHON}
154+
python: ${{ fromJSON(ALL_PYTHON) }}
155155
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2121) Remove `_w_rest_async` variant when async rest is GA.
156156
variant: ['', _alternative_templates, _mixins, _alternative_templates_mixins, _w_rest_async]
157157
logging_scope: ["", "google"]

0 commit comments

Comments
 (0)