Skip to content

Commit 3eaf89c

Browse files
chore(python): set coverage level to 100% (#221)
* 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 <[email protected]>
1 parent 2aca135 commit 3eaf89c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

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

packages/google-cloud-build/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=99")
178+
session.run("coverage", "report", "--show-missing", "--fail-under=100")
179179

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

packages/google-cloud-build/owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
templated_files = common.py_library(
3939
samples=False, # set to True only if there are samples
4040
microgenerator=True,
41-
cov_level=99,
41+
cov_level=100,
4242
)
4343

4444
s.move(templated_files, excludes=[".coveragerc"]) # microgenerator has a good .coveragerc file

0 commit comments

Comments
 (0)