Skip to content

Commit 062e254

Browse files
speedstorm1copybara-github
authored andcommitted
chore: remove bulky coverage step from unit tests, remove unit tests from linting presubmit check
PiperOrigin-RevId: 911398084
1 parent c145803 commit 062e254

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

.kokoro/presubmit/presubmit.cfg

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# Format: //devtools/kokoro/config/proto/build.proto
22

3-
# Run all sessions except system tests and docs builds
4-
# This only runs unit tests for Python 3.10 since unit tests are required for `cover` to run
5-
# Other Python version unit tests are run separately
3+
# Run fast linting and code formatting checks
64
env_vars: {
75
key: "NOX_SESSION"
8-
value: "unit-3.10 lint lint_setup_py blacken cover"
6+
value: "lint lint_setup_py blacken"
97
}
108

119
# Run unit tests in parallel, splitting up by file

noxfile.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,6 @@ def default(session):
208208
"py.test",
209209
"--quiet",
210210
f"--junitxml=unit_{session.python}_sponge_log.xml",
211-
"--cov=google",
212-
"--cov-append",
213-
"--cov-config=.coveragerc",
214-
"--cov-report=",
215-
"--cov-fail-under=0",
216211
"--ignore=tests/unit/vertex_ray",
217212
"--ignore=tests/unit/vertex_adk",
218213
"--ignore=tests/unit/vertex_langchain",

0 commit comments

Comments
 (0)