mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-22 16:21:53 +00:00
test(release): update workflow concurrency expectations
This commit is contained in:
@@ -763,7 +763,7 @@ describe("package artifact reuse", () => {
|
||||
'-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' }}",
|
||||
"cancel-in-progress: ${{ (inputs.ref == 'main' && inputs.rerun_group == 'all') || startsWith(inputs.ref, 'tideclaw/alpha/') }}",
|
||||
"gh run cancel",
|
||||
"NORMAL_CI_RESULT: ${{ needs.normal_ci.result }}",
|
||||
]);
|
||||
|
||||
@@ -469,11 +469,12 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {
|
||||
expect(releaseChecksWorkflow.concurrency).toEqual({
|
||||
group:
|
||||
"openclaw-release-checks-${{ inputs.expected_sha || inputs.ref }}-${{ inputs.rerun_group }}",
|
||||
"cancel-in-progress": false,
|
||||
"cancel-in-progress": "${{ startsWith(github.ref, 'refs/heads/tideclaw/alpha/') }}",
|
||||
});
|
||||
expect(fullReleaseWorkflow.concurrency).toEqual({
|
||||
group: "full-release-validation-${{ inputs.ref }}-${{ inputs.rerun_group }}",
|
||||
"cancel-in-progress": "${{ inputs.ref == 'main' && inputs.rerun_group == 'all' }}",
|
||||
"cancel-in-progress":
|
||||
"${{ (inputs.ref == 'main' && inputs.rerun_group == 'all') || startsWith(inputs.ref, 'tideclaw/alpha/') }}",
|
||||
});
|
||||
expect(releaseChecksWorkflow.jobs.resolve_target["runs-on"]).toBe("ubuntu-24.04");
|
||||
expect(releaseChecksWorkflow.jobs.prepare_release_package["runs-on"]).toBe("ubuntu-24.04");
|
||||
|
||||
Reference in New Issue
Block a user