


















@@ -1254,17 +1254,30 @@ describe("package artifact reuse", () => {
12541254).toHaveLength(2);
12551255});
125612561257-it("fails Testbox changed-check delegation when the remote command fails", () => {
1257+it("finalizes Testbox delegation even when setup or the remote command fails", () => {
12581258const workflow = readFileSync(CI_CHECK_TESTBOX_WORKFLOW, "utf8");
1259-const runTestboxStep = workflowJob(CI_CHECK_TESTBOX_WORKFLOW, "check").steps?.find(
1260-(step) => step.name === "Run Testbox",
1259+const checkTestboxJob = workflowJob(CI_CHECK_TESTBOX_WORKFLOW, "check");
1260+const runTestboxStep = workflowStep(checkTestboxJob, "Run Testbox");
1261+const runArmTestboxStep = workflowStep(
1262+workflowJob(CI_CHECK_ARM_TESTBOX_WORKFLOW, "check-arm"),
1263+"Run Testbox",
1264+);
1265+const runBuildArtifactsTestboxStep = workflowStep(
1266+workflowJob(CI_BUILD_ARTIFACTS_TESTBOX_WORKFLOW, "build-artifacts"),
1267+"Run Testbox",
12611268);
1262126912631270expect(workflow).toContain('PNPM_CONFIG_STORE_DIR: "/tmp/openclaw-pnpm-store"');
12641271expect(workflow).not.toContain("PNPM_CONFIG_MODULES_DIR");
12651272expect(workflow).not.toContain("PNPM_CONFIG_VIRTUAL_STORE_DIR");
1266-expect(runTestboxStep?.uses).toContain("useblacksmith/run-testbox@");
1267-expect(runTestboxStep?.["continue-on-error"]).toBeUndefined();
1273+expect(checkTestboxJob["timeout-minutes"]).toBe(
1274+"${{ fromJSON(inputs.timeout_minutes || '120') }}",
1275+);
1276+expect(runTestboxStep.uses).toContain("useblacksmith/run-testbox@");
1277+expect(runTestboxStep.if).toBe("always()");
1278+expect(runArmTestboxStep.if).toBe("always()");
1279+expect(runBuildArtifactsTestboxStep.if).toBe("always()");
1280+expect(runTestboxStep["continue-on-error"]).toBeUndefined();
12681281});
1269128212701283it("allows the Telegram lane to run from reusable package acceptance artifacts", () => {
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。