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
@@ -30,6 +30,8 @@ describe('push ci workflow', () => {
expect(workflow).toContain("FAST_TEST_BUDGET_SECONDS: '90'");
expect(workflow).toContain('name: Test fast bucket with perf budget');
expect(workflow).toContain('bun run test:fast');
expect(workflow).toContain('test_status=$?');
expect(workflow).toContain('exit "$test_status"');
expect(workflow).toContain('::warning::test:fast took ${elapsed_seconds}s');
expect(workflow).toContain('scripts/run-test-bucket.js');
expect(workflow).toContain('run: bun run test:slow');