From 644e2a7be2bba174460d129988412bf3f51db7d2 Mon Sep 17 00:00:00 2001 From: matamune Date: Mon, 18 May 2026 00:15:37 +0000 Subject: [PATCH] Stabilize patch CI flow tests --- .forgejo/workflows/check.yml | 1 + apps/patch/test/cli.test.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/check.yml b/.forgejo/workflows/check.yml index 7b47c67..7bfafae 100644 --- a/.forgejo/workflows/check.yml +++ b/.forgejo/workflows/check.yml @@ -13,6 +13,7 @@ jobs: steps: - uses: actions/checkout@v4 with: + fetch-depth: 0 submodules: recursive - name: Install Bun run: npm install -g bun@1.3.11 diff --git a/apps/patch/test/cli.test.ts b/apps/patch/test/cli.test.ts index 808f064..864c741 100644 --- a/apps/patch/test/cli.test.ts +++ b/apps/patch/test/cli.test.ts @@ -67,7 +67,7 @@ describe("patch.moi CLI", () => { "rust-v0.130.0", "--workspace-root", workspaceRoot, - ]); + ], { env: {} }); expect(blocked.code).toBe(2); expect(blocked.stderr).toContain("requires PATCH_WORKSPACE_BACKEND_URL, CODEX_WORKSPACE_MODE=actions, or --allow-local");