mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:10:45 +00:00
ci(release): speed up focused release reruns
This commit is contained in:
@@ -307,6 +307,7 @@ describe("package artifact reuse", () => {
|
||||
expect(workflow).toContain("live_suite_filter:");
|
||||
expect(workflow).toContain("validate_live_suite_filter:");
|
||||
expect(workflow).toContain("LIVE_SUITE_FILTER: ${{ inputs.live_suite_filter }}");
|
||||
expect(workflow).toContain("live-cache attempt ${attempt}/3");
|
||||
expect(workflow).toContain(
|
||||
"live_suite_filter '${LIVE_SUITE_FILTER}' does not match any runnable suite",
|
||||
);
|
||||
@@ -548,6 +549,10 @@ describe("package artifact reuse", () => {
|
||||
);
|
||||
expect(workflow).toContain("rerun_group:");
|
||||
expect(workflow).toContain("live_suite_filter:");
|
||||
expect(workflow).toContain("cross_os_suite_filter:");
|
||||
expect(workflow).toContain(
|
||||
"suite_filter: ${{ needs.resolve_target.outputs.cross_os_suite_filter }}",
|
||||
);
|
||||
expect(workflow).toContain(
|
||||
"live_suite_filter: ${{ needs.resolve_target.outputs.live_suite_filter }}",
|
||||
);
|
||||
@@ -559,6 +564,7 @@ describe("package artifact reuse", () => {
|
||||
);
|
||||
expect(workflow).toContain("- live-e2e");
|
||||
expect(workflow).toContain("- qa-live");
|
||||
expect(workflow).toContain("QA release-check lanes are advisory");
|
||||
});
|
||||
|
||||
it("detects Matrix fail-fast support for older release refs", () => {
|
||||
@@ -654,6 +660,7 @@ describe("package artifact reuse", () => {
|
||||
"child_rerun_group=all",
|
||||
'-f rerun_group="$child_rerun_group"',
|
||||
'args+=(-f live_suite_filter="$LIVE_SUITE_FILTER")',
|
||||
'args+=(-f cross_os_suite_filter="$CROSS_OS_SUITE_FILTER")',
|
||||
"cancel-in-progress: ${{ inputs.ref == 'main' && inputs.rerun_group == 'all' }}",
|
||||
"gh run cancel",
|
||||
"NORMAL_CI_RESULT: ${{ needs.normal_ci.result }}",
|
||||
@@ -678,6 +685,8 @@ describe("package artifact reuse", () => {
|
||||
);
|
||||
expectTextToIncludeAll(fullReleaseDocs, [
|
||||
"pre-publish candidate",
|
||||
"cross_os_suite_filter",
|
||||
"QA release-check lanes are advisory",
|
||||
"silently skip that",
|
||||
"Telegram package lane",
|
||||
"| `npm-telegram` | Published-package Telegram E2E; requires `npm_telegram_package_spec`. |",
|
||||
|
||||
Reference in New Issue
Block a user