diff --git a/.kokoro/presubmit/presubmit.cfg b/.kokoro/presubmit/presubmit.cfg index 8f43917d..f4651182 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 + +# Only run the following session(s) +env_vars: { + key: "NOX_SESSION" + value: "blacken lint lint_setup_py docs" +} \ No newline at end of file diff --git a/noxfile.py b/noxfile.py index 774325ae..d316dac8 100644 --- a/noxfile.py +++ b/noxfile.py @@ -98,9 +98,6 @@ def wrapper(*args, **kwargs): # 'docfx' is excluded since it only needs to run in 'docs-presubmit' nox.options.sessions = [ - "unit", - "system", - "cover", "lint", "lint_setup_py", "blacken", diff --git a/owlbot.py b/owlbot.py index aeda7356..916a7074 100644 --- a/owlbot.py +++ b/owlbot.py @@ -58,6 +58,7 @@ "README.rst", # exclude this file as we have an alternate prerelease.cfg ".kokoro/presubmit/prerelease-deps.cfg", + ".kokoro/presubmit/presubmit.cfg", ], )