Skip to content

Commit

Permalink
Actually start running coverage drop checks again
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Dec 6, 2021
1 parent 5013e2c commit 203071c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/platform_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
set -e
go test -tags ci -covermode=atomic -coverprofile=coverage.out ./...
if [ $coverage -lt 28 ]; then echo "Test coverage lowered"; exit 1; fi
coverage=`go tool cover -func coverage.out | grep total | tr -s '\t' | cut -f 3 | grep -o '[^%]*'`
if [ $coverage -lt 26 ]; then echo "Test coverage lowered"; exit 1; fi
if: ${{ runner.os == 'Linux' }}

- name: Update PR Coverage
Expand Down

0 comments on commit 203071c

Please sign in to comment.