Skip to content

Commit d557a8d

Browse files
tseaverlarkee
andauthored
ci: split systests into separate Kokoro session (#481)
Closes #478. Co-authored-by: larkee <31196561+larkee@users.noreply.github.com>
1 parent 9746062 commit d557a8d

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

.kokoro/presubmit/presubmit.cfg

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
# Format: //devtools/kokoro/config/proto/build.proto
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Disable system tests.
4+
env_vars: {
5+
key: "RUN_SYSTEM_TESTS"
6+
value: "false"
7+
}

.kokoro/presubmit/system-3.8.cfg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Only run this nox session.
4+
env_vars: {
5+
key: "NOX_SESSION"
6+
value: "system-3.8"
7+
}

owlbot.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,9 @@ def get_staging_dirs(
136136
# ----------------------------------------------------------------------------
137137
# Add templated files
138138
# ----------------------------------------------------------------------------
139-
templated_files = common.py_library(microgenerator=True, samples=True, cov_level=99)
139+
templated_files = common.py_library(
140+
microgenerator=True, samples=True, cov_level=99, split_system_tests=True,
141+
)
140142
s.move(templated_files, excludes=[".coveragerc"])
141143

142144
# Ensure CI runs on a new instance each time

0 commit comments

Comments
 (0)