mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:20:44 +00:00
ci: isolate manual install smoke runs
This commit is contained in:
2
.github/workflows/install-smoke.yml
vendored
2
.github/workflows/install-smoke.yml
vendored
@@ -11,7 +11,7 @@ permissions:
|
|||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.event_name == 'pull_request' && format('{0}-{1}', github.workflow, github.event.pull_request.number) || format('{0}-{1}', github.workflow, github.ref) }}
|
group: ${{ github.event_name == 'workflow_dispatch' && format('{0}-manual-{1}', github.workflow, github.run_id) || github.event_name == 'pull_request' && format('{0}-{1}', github.workflow, github.event.pull_request.number) || format('{0}-{1}', github.workflow, github.ref) }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -118,6 +118,7 @@ describe("bun global install smoke", () => {
|
|||||||
expect(workflow).toContain(
|
expect(workflow).toContain(
|
||||||
"OPENCLAW_BUN_GLOBAL_SMOKE_DIST_IMAGE: openclaw-dockerfile-smoke:local",
|
"OPENCLAW_BUN_GLOBAL_SMOKE_DIST_IMAGE: openclaw-dockerfile-smoke:local",
|
||||||
);
|
);
|
||||||
|
expect(workflow).toContain("format('{0}-manual-{1}', github.workflow, github.run_id)");
|
||||||
expect(workflow).toContain("OPENCLAW_CI_FORCE_INSTALL_SMOKE");
|
expect(workflow).toContain("OPENCLAW_CI_FORCE_INSTALL_SMOKE");
|
||||||
expect(workflow).toContain('if [ "$force_install_smoke" = "true" ]; then');
|
expect(workflow).toContain('if [ "$force_install_smoke" = "true" ]; then');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user