Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 50504ae

Browse filesBrowse files
fix: Reduce the code coverage percentage to 99 (#1278)
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 4875408 commit 50504ae
Copy full SHA for 50504ae

File tree

Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed

‎.github/workflows/unittest.yml

Copy file name to clipboardExpand all lines: .github/workflows/unittest.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ jobs:
5555
run: |
5656
find .coverage-results -type f -name '*.zip' -exec unzip {} \;
5757
coverage combine .coverage-results/**/.coverage*
58-
coverage report --show-missing --fail-under=100
58+
coverage report --show-missing --fail-under=99

‎noxfile.py

Copy file name to clipboardExpand all lines: noxfile.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ def cover(session):
346346
test runs (not system test runs), and then erases coverage data.
347347
"""
348348
session.install("coverage", "pytest-cov")
349-
session.run("coverage", "report", "--show-missing", "--fail-under=100")
349+
session.run("coverage", "report", "--show-missing", "--fail-under=99")
350350

351351
session.run("coverage", "erase")
352352

‎owlbot.py

Copy file name to clipboardExpand all lines: owlbot.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@
334334
templated_files = gcp.CommonTemplates().py_library(
335335
microgenerator=True,
336336
samples=True,
337-
cov_level=100,
337+
cov_level=99,
338338
versions=gcp.common.detect_versions(path="./google", default_first=True),
339339
unit_test_python_versions=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
340340
unit_test_dependencies=["flaky"],

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.