Skip to content

Commit

Permalink
ci: split systests into separate Kokoro session (#481)
Browse files Browse the repository at this point in the history
Closes #478.

Co-authored-by: larkee <31196561+larkee@users.noreply.github.com>
  • Loading branch information
tseaver and larkee committed Aug 12, 2021
1 parent 9746062 commit d557a8d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .kokoro/presubmit/presubmit.cfg
@@ -1 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto
# Format: //devtools/kokoro/config/proto/build.proto

# Disable system tests.
env_vars: {
key: "RUN_SYSTEM_TESTS"
value: "false"
}
7 changes: 7 additions & 0 deletions .kokoro/presubmit/system-3.8.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.8"
}
4 changes: 3 additions & 1 deletion owlbot.py
Expand Up @@ -136,7 +136,9 @@ def get_staging_dirs(
# ----------------------------------------------------------------------------
# Add templated files
# ----------------------------------------------------------------------------
templated_files = common.py_library(microgenerator=True, samples=True, cov_level=99)
templated_files = common.py_library(
microgenerator=True, samples=True, cov_level=99, split_system_tests=True,
)
s.move(templated_files, excludes=[".coveragerc"])

# Ensure CI runs on a new instance each time
Expand Down

0 comments on commit d557a8d

Please sign in to comment.