Skip to content

Commit

Permalink
Removing a chunk of tested code lowered average
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Jan 3, 2025
1 parent eb29983 commit f5bbd07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/platform_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f5bbd07

Please sign in to comment.