

























@@ -176,17 +176,24 @@ describe("bun global install smoke", () => {
176176expect(workflow).toContain('cron: "17 3 * * *"');
177177expect(workflow).toContain("run_bun_global_install_smoke:");
178178expect(workflow).toContain(
179-"install-bun: ${{ needs.preflight.outputs.run_bun_global_install_smoke }}",
180-);
181-expect(workflow).toContain(
182-"if: needs.preflight.outputs.run_bun_global_install_smoke == 'true'",
179+"if: needs.preflight.outputs.run_full_install_smoke == 'true' && needs.preflight.outputs.run_bun_global_install_smoke == 'true'",
183180);
181+expect(workflow).toContain("bun_global_install_smoke:");
182+expect(workflow).toContain("Setup Node environment for Bun smoke");
183+expect(workflow).toContain('install-bun: "true"');
184+expect(workflow).toContain('install-bun: "false"');
184185expect(workflow).toContain("Run Bun global install image-provider smoke");
185186expect(workflow).toContain("bash scripts/e2e/bun-global-install-smoke.sh");
186187expect(workflow).toContain(
187-"OPENCLAW_BUN_GLOBAL_SMOKE_DIST_IMAGE: openclaw-dockerfile-smoke:local",
188+"OPENCLAW_BUN_GLOBAL_SMOKE_DIST_IMAGE: ${{ needs.root_dockerfile_image.outputs.image_ref }}",
189+);
190+expect(workflow).toContain(
191+"github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call'",
192+);
193+expect(workflow).toContain(
194+"format('{0}-{1}-{2}', github.workflow, github.event_name, github.run_id)",
188195);
189-expect(workflow).toContain("format('{0}-manual-{1}', github.workflow, github.run_id)");
196+expect(workflow).toContain("cancel-in-progress: ${{ github.event_name != 'workflow_call' }}");
190197expect(workflow).not.toContain(
191198"github.event_name == 'workflow_call' || github.event_name == 'push'",
192199);
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。