Skip to content

Commit 6b7a529

Browse files
speedstorm1copybara-github
authored andcommitted
chore: Split Kokoro presubmit into lint and coverage jobs.
PiperOrigin-RevId: 915500963
1 parent a87c45f commit 6b7a529

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.kokoro/presubmit/coverage.cfg

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Run unit tests to generate coverage data, then run the coverage aggregation and threshold check
4+
env_vars: {
5+
key: "NOX_SESSION"
6+
value: "unit-3.13 cover"
7+
}
8+
9+
# Run unit tests in parallel, splitting up by file, and track coverage metrics
10+
env_vars: {
11+
key: "PYTEST_ADDOPTS"
12+
value: "-n=auto --dist=loadscope --cov=google --cov-append --cov-config=.coveragerc --cov-report= --cov-fail-under=0 --tb=no"
13+
}

0 commit comments

Comments
 (0)