mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:10:44 +00:00
ci: shard release live validation
This commit is contained in:
@@ -41,7 +41,8 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
||||
package: true,
|
||||
});
|
||||
expect(plan.credentials).toEqual(["anthropic", "openai"]);
|
||||
expect(plan.lanes.map((lane) => lane.name)).toContain("install-e2e");
|
||||
expect(plan.lanes.map((lane) => lane.name)).toContain("install-e2e-openai");
|
||||
expect(plan.lanes.map((lane) => lane.name)).toContain("install-e2e-anthropic");
|
||||
expect(plan.lanes.map((lane) => lane.name)).toContain("mcp-channels");
|
||||
expect(plan.lanes.map((lane) => lane.name)).toContain("bundled-channel-feishu");
|
||||
expect(plan.lanes.map((lane) => lane.name)).toContain("bundled-channel-update-acpx");
|
||||
@@ -166,6 +167,24 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
||||
]);
|
||||
});
|
||||
|
||||
it("maps installer E2E to provider-specific package install lanes", () => {
|
||||
const selectedLaneNames = parseLaneSelection("install-e2e");
|
||||
const plan = planFor({ selectedLaneNames });
|
||||
|
||||
expect(selectedLaneNames).toEqual(["install-e2e-openai", "install-e2e-anthropic"]);
|
||||
expect(plan.lanes).toEqual([
|
||||
expect.objectContaining({
|
||||
command: expect.stringContaining("OPENCLAW_E2E_MODELS=openai"),
|
||||
name: "install-e2e-openai",
|
||||
}),
|
||||
expect.objectContaining({
|
||||
command: expect.stringContaining("OPENCLAW_E2E_MODELS=anthropic"),
|
||||
name: "install-e2e-anthropic",
|
||||
}),
|
||||
]);
|
||||
expect(plan.credentials).toEqual(["anthropic", "openai"]);
|
||||
});
|
||||
|
||||
it("maps bundled plugin install/uninstall to package-backed shards", () => {
|
||||
const selectedLaneNames = parseLaneSelection("bundled-plugin-install-uninstall");
|
||||
const plan = planFor({ selectedLaneNames });
|
||||
|
||||
Reference in New Issue
Block a user