ci: parallelize agents test files

This commit is contained in:
Peter Steinberger
2026-04-22 22:09:18 +01:00
parent a1319aaadd
commit 56828545b4
3 changed files with 5 additions and 2 deletions

View File

@@ -290,6 +290,10 @@ describe("scoped vitest configs", () => {
expect(defaultAutoReplyReplyConfig.test?.include).toEqual(["reply/**/*.test.ts"]);
});
it("keeps the broad agents lane on shared file parallelism", () => {
expect(defaultAgentsConfig.test?.fileParallelism).toBe(true);
});
it("keeps selected plugin-sdk and commands light lanes off the openclaw runtime setup", () => {
expect(normalizeConfigPaths(defaultPluginSdkLightConfig.test?.setupFiles)).toEqual([
"test/setup.ts",

View File

@@ -4,7 +4,6 @@ export function createAgentsVitestConfig(env?: Record<string, string | undefined
return createScopedVitestConfig(["src/agents/**/*.test.ts"], {
dir: "src/agents",
env,
fileParallelism: false,
name: "agents",
});
}