diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 49c6921..902312e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,5 +21,8 @@ jobs: run: git diff --exit-code nix/bun.nix - run: bunx tsc --noEmit - run: bunx oxfmt --check . - - run: bun test + # The suite spawns bun+ax subprocesses heavily (CLI integration tests, + # continuation bench); Bun's 5s default per-test timeout flakes under + # loaded runners, so raise it suite-wide. + - run: bun test --timeout 30000 - run: bun build src/index.ts --compile --outfile ax && ./ax --version diff --git a/package.json b/package.json index 58f8db2..9418e64 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "scripts": { "ax": "bun run src/index.ts", "build": "bun build src/index.ts --compile --outfile ax", - "test": "bun test", + "test": "bun test --timeout 30000", "format": "oxfmt --check .", "format:fix": "oxfmt --write .", "postinstall": "bun2nix -o nix/bun.nix"