You've already forked postgres_exporter
mirror of
https://github.com/prometheus-community/postgres_exporter.git
synced 2025-06-11 19:08:13 +03:00
Fix regression where failed tests would still leave passing builds.
This commit is contained in:
@ -10,6 +10,6 @@ shift
|
||||
echo "mode: count" > $output_cov
|
||||
|
||||
test_cov=$(mktemp)
|
||||
$test_binary -test.coverprofile=$test_cov $@
|
||||
$test_binary -test.coverprofile=$test_cov $@ || exit 1
|
||||
tail -n +2 $test_cov >> $output_cov
|
||||
rm -f $test_cov
|
||||
|
Reference in New Issue
Block a user