ci: allowed tests job to fail
This commit is contained in:
@@ -237,6 +237,7 @@ go-test:
|
||||
- |
|
||||
echo "Total coverage: $TOTAL"
|
||||
echo "$TOTAL" | awk -v threshold=30 '{ if ($1+0 < threshold) { print "Coverage below threshold: " $1 "%"; exit 1 } }'
|
||||
allow_failure: true
|
||||
artifacts:
|
||||
paths:
|
||||
- coverage.out
|
||||
|
||||
Reference in New Issue
Block a user