mirror of
https://github.com/openclaw/openclaw.git
synced 2026-09-29 17:19:00 +08:00
ci: split UI component tests into their own core type shard
This commit is contained in:
@@ -109,6 +109,11 @@ export const TSGO_CORE_TEST_SHARDS = [
|
||||
group: "src",
|
||||
config: "test/tsconfig/tsconfig.core.test.services-cron.json",
|
||||
},
|
||||
{
|
||||
name: "ui-components",
|
||||
group: "ui",
|
||||
config: "test/tsconfig/tsconfig.core.test.ui-components.json",
|
||||
},
|
||||
] as const;
|
||||
|
||||
// Root tests remain one CI inventory graph; execution partitions its checker heap.
|
||||
|
||||
@@ -60,6 +60,7 @@ describe("tsgo core test shards", () => {
|
||||
["src/agents/sessions/settings-storage.test.ts", "agents-sessions"],
|
||||
["ui/src/pages/chat/chat-send-submit.test.ts", "ui-chat"],
|
||||
["ui/src/pages/config/config-page.test.ts", "ui-pages"],
|
||||
["ui/src/components/agent-avatar-face.test.ts", "ui-components"],
|
||||
["src/gateway/server-methods/update-owner.test.ts", "gateway-methods"],
|
||||
["src/gateway/talk/client-authority.test.ts", "gateway-other"],
|
||||
["src/gateway/worker-environments/service.plugin-create.test.ts", "gateway-other"],
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"extends": "./tsconfig.core.test.shard.json",
|
||||
"compilerOptions": {
|
||||
"tsBuildInfoFile": "../../.artifacts/tsgo-cache/core-test-ui-components.tsbuildinfo"
|
||||
},
|
||||
"include": [
|
||||
"../../ui/src/main.ts",
|
||||
"../../ui/src/components/**/*.test.ts",
|
||||
"../../ui/src/components/**/*.test.tsx"
|
||||
]
|
||||
}
|
||||
@@ -12,6 +12,7 @@
|
||||
"../../node_modules",
|
||||
"../../dist",
|
||||
"../../**/dist/**",
|
||||
"../../ui/src/components/**",
|
||||
"../../ui/src/pages/**",
|
||||
"../../ui/src/e2e/**",
|
||||
"../../ui/src/app/shell-layout-traits.test.ts"
|
||||
|
||||
Reference in New Issue
Block a user