mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:01:01 +00:00
ci(release): force release smokes onto GPT-5.5
This commit is contained in:
@@ -137,16 +137,17 @@ describe("scripts/openclaw-cross-os-release-checks", () => {
|
||||
expect(resolveProviderConfig("openai", {})?.model).toBe("openai/gpt-5.5");
|
||||
});
|
||||
|
||||
it("keeps cross-OS release workflow OpenAI default on GPT-5.5", () => {
|
||||
it("keeps release cross-OS OpenAI smoke on GPT-5.5", () => {
|
||||
const workflow = readFileSync(
|
||||
".github/workflows/openclaw-cross-os-release-checks-reusable.yml",
|
||||
"utf8",
|
||||
);
|
||||
const releaseChecks = readFileSync(".github/workflows/openclaw-release-checks.yml", "utf8");
|
||||
|
||||
expect(workflow).toContain(
|
||||
"OPENCLAW_CROSS_OS_OPENAI_MODEL: ${{ vars.OPENCLAW_CROSS_OS_OPENAI_MODEL || 'openai/gpt-5.5' }}",
|
||||
"OPENCLAW_CROSS_OS_OPENAI_MODEL: ${{ inputs.openai_model || vars.OPENCLAW_CROSS_OS_OPENAI_MODEL || 'openai/gpt-5.5' }}",
|
||||
);
|
||||
expect(workflow).not.toContain("openai/gpt-5.4-mini");
|
||||
expect(releaseChecks).toContain("openai_model: openai/gpt-5.5");
|
||||
});
|
||||
|
||||
it("keeps release smoke plugin allowlists focused on agent-turn essentials", () => {
|
||||
|
||||
@@ -209,6 +209,8 @@ describe("bun global install smoke", () => {
|
||||
expect(workflow).toContain("run_fast_install_smoke");
|
||||
expect(workflow).toContain("run_full_install_smoke");
|
||||
expect(workflow).toContain("timeout 45m docker buildx build");
|
||||
expect(workflow).toContain('timeout 600s docker pull "$IMAGE_REF"');
|
||||
expect(workflow).not.toContain('timeout 300s docker pull "$IMAGE_REF"');
|
||||
expect(workflow).toContain("--progress=plain");
|
||||
expect(workflow).toContain("--load");
|
||||
expect(workflow).not.toContain("--cache-from");
|
||||
|
||||
Reference in New Issue
Block a user