mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-17 08:02:12 -06:00
improve: split hosted Windows CI into three lanes (#123577)
* ci: split Windows tests into three lanes * test: cover three-way Windows CI partition
This commit is contained in:
committed by
GitHub
parent
37c9a30f58
commit
3a49aa1ac6
@@ -2695,7 +2695,7 @@ NODE
|
||||
expect(workflow.jobs["checks-fast-channel-contracts-shard"].strategy["max-parallel"]).toBe(12);
|
||||
expect(workflow.jobs["check-shard"].strategy["max-parallel"]).toBe(12);
|
||||
expect(workflow.jobs["check-additional-shard"].strategy["max-parallel"]).toBe(12);
|
||||
expect(workflow.jobs["checks-windows"].strategy["max-parallel"]).toBe(2);
|
||||
expect(workflow.jobs["checks-windows"].strategy["max-parallel"]).toBe(3);
|
||||
expect(workflow.jobs.android.strategy["max-parallel"]).toBe(2);
|
||||
});
|
||||
|
||||
@@ -2741,6 +2741,7 @@ NODE
|
||||
const expectedHostedWindowsMatrix = [
|
||||
{ check_name: "checks-windows-node-test-1", runtime: "node", task: "test-1" },
|
||||
{ check_name: "checks-windows-node-test-2", runtime: "node", task: "test-2" },
|
||||
{ check_name: "checks-windows-node-test-3", runtime: "node", task: "test-3" },
|
||||
];
|
||||
expect(
|
||||
JSON.parse(expectDefined(github.outputs.checks_windows_matrix, "GitHub Windows matrix"))
|
||||
@@ -2752,6 +2753,7 @@ NODE
|
||||
).toEqual(expectedHostedWindowsMatrix);
|
||||
expect(runStep.run).toContain("test-1)\n pnpm test:windows:ci:1");
|
||||
expect(runStep.run).toContain("test-2)\n pnpm test:windows:ci:2");
|
||||
expect(runStep.run).toContain("test-3)\n pnpm test:windows:ci:3");
|
||||
});
|
||||
|
||||
it("installs the Android SDK platform used by Gradle", () => {
|
||||
|
||||
Reference in New Issue
Block a user