mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:40:49 +00:00
ci: parallelize agents test files
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user