fix(ci): restore isolated Bun test execution for mock.module suites

Running Linux CI in one Bun process still leaks mock.module registrations across files, so the workflows now use a CI-specific test runner that isolates mock-heavy targets before executing the remaining suite together.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-04-04 15:51:54 +09:00
parent fd476fe9a1
commit 2c081e1999
6 changed files with 149 additions and 6 deletions
+1
View File
@@ -31,6 +31,7 @@
"postinstall": "node postinstall.mjs",
"prepublishOnly": "bun run clean && bun run build",
"test:model-capabilities": "bun test src/shared/model-capability-aliases.test.ts src/shared/model-capability-guardrails.test.ts src/shared/model-capabilities.test.ts src/cli/doctor/checks/model-resolution.test.ts --bail",
"test:ci": "bun run script/run-ci-tests.ts",
"typecheck": "tsc --noEmit",
"test": "bun test"
},