ci: preserve fast test budget summary on failure

This commit is contained in:
Tam Nhu Tran
2026-04-23 19:52:12 -04:00
parent 4c677507d0
commit aa4a05e859
2 changed files with 10 additions and 1 deletions
+8 -1
View File
@@ -132,7 +132,12 @@ jobs:
set -euo pipefail
start_epoch=$(date +%s)
bun run test:fast
test_status=0
if bun run test:fast; then
test_status=0
else
test_status=$?
fi
end_epoch=$(date +%s)
elapsed_seconds=$((end_epoch - start_epoch))
@@ -150,6 +155,8 @@ jobs:
echo "- Result: within budget." >> "$GITHUB_STEP_SUMMARY"
fi
exit "$test_status"
- name: Test slow bucket
run: bun run test:slow