From 062e254763e52ed64e92cf04a0786480953dbd0d Mon Sep 17 00:00:00 2001 From: Ayush Agrawal Date: Wed, 6 May 2026 09:58:44 -0700 Subject: [PATCH] chore: remove bulky coverage step from unit tests, remove unit tests from linting presubmit check PiperOrigin-RevId: 911398084 --- .kokoro/presubmit/presubmit.cfg | 6 ++---- noxfile.py | 5 ----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.kokoro/presubmit/presubmit.cfg b/.kokoro/presubmit/presubmit.cfg index 8b996be11a..2e0c99ef12 100644 --- a/.kokoro/presubmit/presubmit.cfg +++ b/.kokoro/presubmit/presubmit.cfg @@ -1,11 +1,9 @@ # Format: //devtools/kokoro/config/proto/build.proto -# Run all sessions except system tests and docs builds -# This only runs unit tests for Python 3.10 since unit tests are required for `cover` to run -# Other Python version unit tests are run separately +# Run fast linting and code formatting checks env_vars: { key: "NOX_SESSION" - value: "unit-3.10 lint lint_setup_py blacken cover" + value: "lint lint_setup_py blacken" } # Run unit tests in parallel, splitting up by file diff --git a/noxfile.py b/noxfile.py index ce2d2c3865..4d3dac6d56 100644 --- a/noxfile.py +++ b/noxfile.py @@ -208,11 +208,6 @@ def default(session): "py.test", "--quiet", f"--junitxml=unit_{session.python}_sponge_log.xml", - "--cov=google", - "--cov-append", - "--cov-config=.coveragerc", - "--cov-report=", - "--cov-fail-under=0", "--ignore=tests/unit/vertex_ray", "--ignore=tests/unit/vertex_adk", "--ignore=tests/unit/vertex_langchain",