From 46c3e66862b536393503ad213a30670f2f5e752e Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 18 Jan 2022 20:59:28 -0500 Subject: [PATCH] chore(python): Noxfile recognizes that tests can live in a folder (#696) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(python): Noxfile recognizes that tests can live in a folder Source-Link: https://github.com/googleapis/synthtool/commit/4760d8dce1351d93658cb11d02a1b7ceb23ae5d7 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f0e4b51deef56bed74d3e2359c583fc104a8d6367da3984fc5c66938db738828 * update owlbot.py to remove python 3.6 samples * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot Co-authored-by: Anthonios Partheniou --- .github/.OwlBot.lock.yaml | 2 +- .github/CODEOWNERS | 12 +++++------- owlbot.py | 2 +- samples/snippets/noxfile.py | 1 + 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index eecb84c21..52d79c11f 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:ae600f36b6bc972b368367b6f83a1d91ec2c82a4a116b383d67d547c56fe6de3 + digest: sha256:f0e4b51deef56bed74d3e2359c583fc104a8d6367da3984fc5c66938db738828 diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4e9e8be82..b37686f76 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -3,12 +3,10 @@ # # For syntax help see: # https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax +# Note: This file is autogenerated. To make changes to the codeowner team, please update .repo-metadata.json. +# @googleapis/yoshi-python @googleapis/cloud-storage-dpe are the default owners for changes in this repo +* @googleapis/yoshi-python @googleapis/cloud-storage-dpe -# The cloud-storage-dpe team is the default owner for anything not -# explicitly taken by someone else. -* @googleapis/cloud-storage-dpe @googleapis/yoshi-python - -# Additionally, the python-samples-owners team is also among -# the default owners for samples changes. -/samples/ @googleapis/cloud-storage-dpe @googleapis/yoshi-python @googleapis/python-samples-owners \ No newline at end of file +# @googleapis/python-samples-reviewers @googleapis/cloud-storage-dpe are the default owners for samples changes +/samples/ @googleapis/python-samples-reviewers @googleapis/cloud-storage-dpe diff --git a/owlbot.py b/owlbot.py index c4d3b0ccb..b6c08a888 100644 --- a/owlbot.py +++ b/owlbot.py @@ -45,7 +45,7 @@ "noxfile.py", "renovate.json", # do not bundle reports "CONTRIBUTING.rst", - ".github/CODEOWNERS", + ".kokoro/samples/python3.6", # remove python 3.6 support ], ) diff --git a/samples/snippets/noxfile.py b/samples/snippets/noxfile.py index 3bbef5d54..20cdfc620 100644 --- a/samples/snippets/noxfile.py +++ b/samples/snippets/noxfile.py @@ -187,6 +187,7 @@ def _session_tests( ) -> None: # check for presence of tests test_list = glob.glob("*_test.py") + glob.glob("test_*.py") + test_list.extend(glob.glob("tests")) if len(test_list) == 0: print("No tests found, skipping directory.") else: