fix(ci): fail Testbox changed-check delegation · openclaw/openclaw@92fb79e
vincentkoc
·
2026-05-26
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -21,6 +21,7 @@ const CI_HYDRATE_LIVE_AUTH_SCRIPT = "scripts/ci-hydrate-live-auth.sh";
|
21 | 21 | const UPGRADE_SURVIVOR_RUN_SCRIPT = "scripts/e2e/lib/upgrade-survivor/run.sh"; |
22 | 22 | |
23 | 23 | type WorkflowStep = { |
| 24 | +"continue-on-error"?: boolean | string; |
24 | 25 | env?: Record<string, string>; |
25 | 26 | if?: string; |
26 | 27 | name?: string; |
@@ -762,6 +763,15 @@ describe("package artifact reuse", () => {
|
762 | 763 | ]); |
763 | 764 | }); |
764 | 765 | |
| 766 | +it("fails Testbox changed-check delegation when the remote command fails", () => { |
| 767 | +const runTestboxStep = workflowJob(CI_CHECK_TESTBOX_WORKFLOW, "check").steps?.find( |
| 768 | +(step) => step.name === "Run Testbox", |
| 769 | +); |
| 770 | + |
| 771 | +expect(runTestboxStep?.uses).toContain("useblacksmith/run-testbox@"); |
| 772 | +expect(runTestboxStep?.["continue-on-error"]).toBeUndefined(); |
| 773 | +}); |
| 774 | + |
765 | 775 | it("allows the Telegram lane to run from reusable package acceptance artifacts", () => { |
766 | 776 | const workflow = readFileSync(NPM_TELEGRAM_WORKFLOW, "utf8"); |
767 | 777 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。