From ae4148e9516c3512441ad7ab7ab9df0699b81399 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Thu, 5 Aug 2021 11:15:52 -0400 Subject: [PATCH] tests: split systests out to separate Kokoro job (#412) Closes #411. --- .kokoro/presubmit/presubmit.cfg | 8 +++++++- .kokoro/presubmit/system-3.7.cfg | 7 +++++++ owlbot.py | 1 + 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .kokoro/presubmit/system-3.7.cfg diff --git a/.kokoro/presubmit/presubmit.cfg b/.kokoro/presubmit/presubmit.cfg index 8f43917d9..b158096f0 100644 --- a/.kokoro/presubmit/presubmit.cfg +++ b/.kokoro/presubmit/presubmit.cfg @@ -1 +1,7 @@ -# Format: //devtools/kokoro/config/proto/build.proto \ No newline at end of file +# Format: //devtools/kokoro/config/proto/build.proto + +# Disable system tests. +env_vars: { + key: "RUN_SYSTEM_TESTS" + value: "false" +} diff --git a/.kokoro/presubmit/system-3.7.cfg b/.kokoro/presubmit/system-3.7.cfg new file mode 100644 index 000000000..461537b3f --- /dev/null +++ b/.kokoro/presubmit/system-3.7.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Only run this nox session. +env_vars: { + key: "NOX_SESSION" + value: "system-3.7" +} \ No newline at end of file diff --git a/owlbot.py b/owlbot.py index f4cf08e0a..10f589442 100644 --- a/owlbot.py +++ b/owlbot.py @@ -136,6 +136,7 @@ def update_fixup_scripts(library): system_test_external_dependencies=["pytest-asyncio"], microgenerator=True, cov_level=100, + split_system_tests=True, ) s.move(templated_files)