ci: adapt workflows and test runner for team-mode
This commit is contained in:
@@ -39,7 +39,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: oven-sh/setup-bun@v2
|
- uses: oven-sh/setup-bun@v2
|
||||||
with:
|
with:
|
||||||
bun-version: "1.3.11"
|
bun-version: "1.3.12"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install
|
run: bun install
|
||||||
@@ -56,7 +56,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: oven-sh/setup-bun@v2
|
- uses: oven-sh/setup-bun@v2
|
||||||
with:
|
with:
|
||||||
bun-version: "1.3.11"
|
bun-version: "1.3.12"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install
|
run: bun install
|
||||||
@@ -81,7 +81,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: oven-sh/setup-bun@v2
|
- uses: oven-sh/setup-bun@v2
|
||||||
with:
|
with:
|
||||||
bun-version: "1.3.11"
|
bun-version: "1.3.12"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install
|
run: bun install
|
||||||
|
|||||||
+10
-1
@@ -8,7 +8,16 @@ type CiTestPlan = {
|
|||||||
|
|
||||||
const TEST_ROOTS = ["bin", "script", "src"] as const
|
const TEST_ROOTS = ["bin", "script", "src"] as const
|
||||||
const MODULE_MOCK_PATTERN = "mock.module("
|
const MODULE_MOCK_PATTERN = "mock.module("
|
||||||
const ALWAYS_ISOLATED_TEST_FILES = ["src/openclaw/__tests__/reply-listener-discord.test.ts"] as const
|
const ALWAYS_ISOLATED_TEST_FILES = [
|
||||||
|
"src/features/team-mode/team-mailbox/ack.test.ts",
|
||||||
|
"src/features/team-mode/team-mailbox/send.test.ts",
|
||||||
|
"src/features/team-mode/team-runtime/shutdown.test.ts",
|
||||||
|
"src/features/team-mode/team-runtime/status.test.ts",
|
||||||
|
"src/features/team-mode/team-state-store/resume.test.ts",
|
||||||
|
"src/features/team-mode/team-state-store/store.test.ts",
|
||||||
|
"src/hooks/anthropic-context-window-limit-recovery/aggressive-truncation-strategy.test.ts",
|
||||||
|
"src/openclaw/__tests__/reply-listener-discord.test.ts",
|
||||||
|
] as const
|
||||||
|
|
||||||
async function collectTestFiles(rootDirectory: string): Promise<string[]> {
|
async function collectTestFiles(rootDirectory: string): Promise<string[]> {
|
||||||
const testFiles: string[] = []
|
const testFiles: string[] = []
|
||||||
|
|||||||
Reference in New Issue
Block a user