8000 chore(python): set coverage level to 100% (#359) · googleapis/google-cloud-python@8719698 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8719698

Browse files
chore(python): set coverage level to 100% (#359)
* chore(python): use cov_level in unittest gh action Source-Link: googleapis/synthtool@e5aaa84 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:d22cd2ddce65fdac6986f115563faf2fc81482b09dfbea83ac2808c92ecfdff0 * set coverage to 100% Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent e1c1865 commit 8719698

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

packages/google-cloud-asset/.github/.OwlBot.lock.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:ed1f9983d5a935a89fe8085e8bb97d94e41015252c5b6c9771257cf8624367e6
17-
16+
digest: sha256:d22cd2ddce65fdac6986f115563faf2fc81482b09dfbea83ac2808c92ecfdff0

packages/google-cloud-asset/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def cover(session):
175175
test runs (not system test runs), and then erases coverage data.
176176
"""
177177
session.install("coverage", "pytest-cov")
178-
session.run("coverage", "report", "--show-missing", "--fail-under=98")
178+
session.run("coverage", "report", "--show-missing", "--fail-under=100")
179179

180180
session.run("coverage", "erase")
181181

packages/google-cloud-asset/owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def parse_asset_path.*?@staticmethod""",
7878
templated_files = common.py_library(
7979
samples=True, # set to True only if there are samples
8080
microgenerator=True,
81-
cov_level=98,
81+
cov_level=100,
8282
)
8383
s.move(templated_files, excludes=[".coveragerc"]) # microgenerator has a good .coveragerc file
8484

0 commit comments

Comments
 (0)
0