fix(ci): include nested test files in isolated test execution

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-01 18:19:48 -07:00
parent 51d9685571
commit 951bca5399
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -69,10 +69,10 @@ jobs:
bun test src/hooks/session-recovery/recover-tool-result-missing.test.ts
# legacy-plugin-toast mock isolation (hook.test.ts mocks ./auto-migrate)
bun test src/hooks/legacy-plugin-toast/hook.test.ts
# src/plugin ALL isolated (mock.module pollution crosses between files)
for f in src/plugin/*.test.ts; do bun test "$f"; done
# src/features/background-agent ALL isolated (mock.module pollution)
for f in src/features/background-agent/*.test.ts; do bun test "$f"; done
# src/plugin - ALL isolated (mock.module pollution crosses between files)
for f in $(find src/plugin -name '*.test.ts' | sort); do bun test "$f"; done
# src/features/background-agent - ALL isolated (mock.module pollution)
for f in $(find src/features/background-agent -name '*.test.ts' | sort); do bun test "$f"; done
- name: Run remaining tests
run: |
+4 -4
View File
@@ -70,10 +70,10 @@ jobs:
bun test src/hooks/session-recovery/recover-tool-result-missing.test.ts
# legacy-plugin-toast mock isolation (hook.test.ts mocks ./auto-migrate)
bun test src/hooks/legacy-plugin-toast/hook.test.ts
# src/plugin ALL isolated (mock.module pollution crosses between files)
for f in src/plugin/*.test.ts; do bun test "$f"; done
# src/features/background-agent ALL isolated (mock.module pollution)
for f in src/features/background-agent/*.test.ts; do bun test "$f"; done
# src/plugin - ALL isolated (mock.module pollution crosses between files)
for f in $(find src/plugin -name '*.test.ts' | sort); do bun test "$f"; done
# src/features/background-agent - ALL isolated (mock.module pollution)
for f in $(find src/features/background-agent -name '*.test.ts' | sort); do bun test "$f"; done
- name: Run remaining tests
run: |