From f5bbd073a84bc4241993320619bcdf197f36bc34 Mon Sep 17 00:00:00 2001 From: Andy Williams Date: Fri, 3 Jan 2025 21:37:25 +0000 Subject: [PATCH] Removing a chunk of tested code lowered average --- .github/workflows/platform_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/platform_tests.yml b/.github/workflows/platform_tests.yml index 871a3ccd..5fe0c751 100644 --- a/.github/workflows/platform_tests.yml +++ b/.github/workflows/platform_tests.yml @@ -34,7 +34,7 @@ jobs: set -e go test -tags ci -covermode=atomic -coverprofile=coverage.out ./... coverage=`go tool cover -func coverage.out | grep total | tr -s '\t' | cut -f 3 | grep -o '[^%]*'` - if (( $(echo "$coverage < 25" | bc) )); then echo "Test coverage lowered"; exit 1; fi + if (( $(echo "$coverage < 24" | bc) )); then echo "Test coverage lowered"; exit 1; fi if: ${{ runner.os == 'Linux' }} - name: Update PR Coverage