Skip to content

Commit 168e876

Browse files
committed
fail with no test times
1 parent e25e8a2 commit 168e876

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/slowest_tests/update-slowest-times-issue.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ echo "$jobs" | jq -c '.[]' | while read -r job; do
8989
fi
9090
done
9191

92+
if [ -z "$all_times" ]; then
93+
echo "No slow tests found, exiting"
94+
exit 1
95+
fi
96+
9297
run_date=$(date +"%Y-%m-%d")
9398
body=$(cat << EOF
9499
If you are motivated to help speed up some tests, we would appreciate it!

0 commit comments

Comments
 (0)