Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit bb1a584

Browse filesBrowse files
chore: detect samples tests in nested directories (#115)
Source-Link: googleapis/synthtool@50db768 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e09366bdf0fd9c8976592988390b24d53583dd9f002d476934da43725adbb978
1 parent 00f6340 commit bb1a584
Copy full SHA for bb1a584

File tree

Expand file treeCollapse file tree

2 files changed

+5
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-3
lines changed

‎.github/.OwlBot.lock.yaml

Copy file name to clipboardExpand all lines: .github/.OwlBot.lock.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:993a058718e84a82fda04c3177e58f0a43281a996c7c395e0a56ccc4d6d210d7
16+
digest: sha256:e09366bdf0fd9c8976592988390b24d53583dd9f002d476934da43725adbb978

‎.kokoro/noxfile.py

Copy file name to clipboardExpand all lines: .kokoro/noxfile.py
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,10 @@ def _session_tests(
207207
session: nox.sessions.Session, post_install: Callable = None
208208
) -> None:
209209
# check for presence of tests
210-
test_list = glob.glob("*_test.py") + glob.glob("test_*.py")
211-
test_list.extend(glob.glob("tests"))
210+
test_list = glob.glob("**/*_test.py", recursive=True) + glob.glob(
211+
"**/test_*.py", recursive=True
212+
)
213+
test_list.extend(glob.glob("**/tests", recursive=True))
212214

213215
if len(test_list) == 0:
214216
print("No tests found, skipping directory.")

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.