From 23f47542ad91b5414909fcd7192032d0b5707c9c Mon Sep 17 00:00:00 2001 From: 117 <16513382+117@users.noreply.github.com> Date: Mon, 25 Mar 2024 23:32:23 -0600 Subject: [PATCH] Update test coverage threshold to 25% --- .github/workflows/deno_test_coverage.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deno_test_coverage.yaml b/.github/workflows/deno_test_coverage.yaml index 383cd2f..a9d9e6b 100644 --- a/.github/workflows/deno_test_coverage.yaml +++ b/.github/workflows/deno_test_coverage.yaml @@ -25,8 +25,8 @@ jobs: COVERED_LINES=$(grep -o '^DA:[^,]*' lcov.info | grep -o '1' | wc -l | xargs) COVERAGE_PERCENT=$((COVERED_LINES * 100 / TOTAL_LINES)) echo "Test coverage: $COVERAGE_PERCENT%" - if [ "$COVERAGE_PERCENT" -lt 50 ]; then - echo "test coverage is below 50%" + if [ "$COVERAGE_PERCENT" -lt 25 ]; then + echo "test coverage is below 25%" exit 1 fi shell: bash