Skip to content

Commit 417a80d

Browse files
committed
chore: add test coverage for debug logging
1 parent 8ceeaae commit 417a80d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ jobs:
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+
include:
62+
- name: With logging Enabled
63+
GOOGLE_SDK_PYTHON_LOGGING_SCOPE: "google"
64+
- name: With Logging Disabled
65+
GOOGLE_SDK_PYTHON_LOGGING_SCOPE: ""
66+
6167
runs-on: ubuntu-latest
6268
steps:
6369
- uses: actions/checkout@v4
@@ -143,6 +149,11 @@ jobs:
143149
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
144150
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2121) Remove `_w_rest_async` variant when async rest is GA.
145151
variant: ['', _alternative_templates, _mixins, _alternative_templates_mixins, _w_rest_async]
152+
include:
153+
- name: With logging Enabled
154+
GOOGLE_SDK_PYTHON_LOGGING_SCOPE: "google"
155+
- name: With Logging Disabled
156+
GOOGLE_SDK_PYTHON_LOGGING_SCOPE: ""
146157
runs-on: ubuntu-latest
147158
steps:
148159
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)