From e5aaa84b1dda1829c54d4696827817f133ed9780 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Sat, 22 Jan 2022 06:43:47 -0500 Subject: [PATCH] chore(python): use cov_level in unittest gh action (#1335) --- .../gcp/templates/python_library/.github/workflows/unittest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synthtool/gcp/templates/python_library/.github/workflows/unittest.yml b/synthtool/gcp/templates/python_library/.github/workflows/unittest.yml index 57d4aa422..175483bd9 100644 --- a/synthtool/gcp/templates/python_library/.github/workflows/unittest.yml +++ b/synthtool/gcp/templates/python_library/.github/workflows/unittest.yml @@ -54,4 +54,4 @@ jobs: - name: Report coverage results run: | coverage combine .coverage-results/.coverage* - coverage report --show-missing --fail-under=100 + coverage report --show-missing --fail-under={{ cov_level if cov_level != None else 100 }}