Skip to content

Commit cf44311

Browse files
committed
ci: ensure test failures are caught in coverage script
1 parent 372baf4 commit cf44311

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

util/build-run-test-coverage-linux.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
set -e
2929
# Treat unset variables as errors
3030
set -u
31+
# Ensure pipeline failures are caught (not just the last command's exit code)
32+
set -o pipefail
3133
# Print expanded commands to stdout before running them
3234
set -x
3335

0 commit comments

Comments
 (0)