File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7171
7272 - name : Check per-service coverage
7373 if : github.event_name == 'pull_request'
74- # continue-on-error: remove this once all services reach the 70% threshold
75- continue-on-error : true
7674 run : |
7775 chmod +x scripts/check-service-coverage.sh
7876 ./scripts/check-service-coverage.sh
Original file line number Diff line number Diff line change @@ -194,8 +194,8 @@ jobs:
194194 run : |
195195 coverage=$(go tool cover -func=coverage/coverage-filtered.out | grep total | awk '{print $3}' | sed 's/%//')
196196 echo "Coverage (excluding generated proto files): ${coverage}%"
197- if (( $(echo "$coverage < 50 .0" | bc -l) )); then
198- echo "❌ Coverage ${coverage}% is below 50 % threshold"
197+ if (( $(echo "$coverage < 70 .0" | bc -l) )); then
198+ echo "❌ Coverage ${coverage}% is below 70 % threshold"
199199 exit 1
200200 fi
201201 echo "✅ Coverage ${coverage}% meets threshold"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments