Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Commit 4267342

Browse files
authored
Merge pull request #191 from netlify/chore/better-codecov-error-handling
Add `--fail` flag to `curl` for Codecov
2 parents c4a39c2 + 49221ff commit 4267342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/coverage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ node="node_${node//./_}"
99

1010
# We don't use the -Z flag (which makes CI build fail on upload error) because
1111
# Codecov fails wait too often.
12-
curl -s https://codecov.io/bash | \
12+
curl --fail -s https://codecov.io/bash | \
1313
bash -s -- -f coverage/coverage-final.json -F "$os" -F "$node"

0 commit comments

Comments
 (0)