5858 # TODO(https://github.com/googleapis/gapic-generator-python/issues/2121) Remove `showcase_w_rest_async` target when async rest is GA.
5959 python : ["3.7", "3.13"]
6060 target : [showcase, showcase_alternative_templates, showcase_w_rest_async]
61+ logging_env_var : ["", "google"]
62+
6163 runs-on : ubuntu-latest
6264 steps :
6365 - uses : actions/checkout@v4
9092 unzip protoc-${PROTOC_VERSION}.zip
9193 sudo ln -s /usr/src/protoc/bin/protoc /usr/local/bin/protoc
9294 - name : Run showcase tests.
95+ env :
96+ GOOGLE_SDK_PYTHON_LOGGING_SCOPE : ${{ matrix.logging_env_var }}
9397 run : nox -s ${{ matrix.target }}-${{ matrix.python }}
9498 showcase-mtls :
9599 if : ${{ false }} # TODO(dovs): reenable when #1218 is fixed
@@ -143,6 +147,8 @@ jobs:
143147 python : ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
144148 # TODO(https://github.com/googleapis/gapic-generator-python/issues/2121) Remove `_w_rest_async` variant when async rest is GA.
145149 variant : ['', _alternative_templates, _mixins, _alternative_templates_mixins, _w_rest_async]
150+ logging_env_var : ["", "google"]
151+
146152 runs-on : ubuntu-latest
147153 steps :
148154 - uses : actions/checkout@v4
@@ -166,6 +172,8 @@ jobs:
166172 - name : Install nox.
167173 run : python -m pip install nox
168174 - name : Run unit tests.
175+ env :
176+ GOOGLE_SDK_PYTHON_LOGGING_SCOPE : ${{ matrix.logging_env_var }}
169177 run : nox -s showcase_unit${{ matrix.variant }}-${{ matrix.python }}
170178 showcase-unit-add-iam-methods :
171179 runs-on : ubuntu-latest
0 commit comments