fix: bump HEIF + image-enhancement CI timeout to 300s

HEIF decoding combined with image-enhancement (CLAHE + histogram +
multi-step corrections) exceeds 180s on GitHub Actions runners.
HEIC works fine (~4.5s) but HEIF specifically needs ~5min in CI.
This commit is contained in:
SnapOtter
2026-05-09 19:52:11 +08:00
parent db34157bcb
commit d2f5456624
3 changed files with 27 additions and 19 deletions
+1 -1
View File
@@ -678,7 +678,7 @@ describe("Authentication", () => {
// ── HEIF input ─────────────────────────────────────────────────
describe("HEIF input", () => {
it("enhances HEIF (sample.heif) input", { timeout: 120_000 }, async () => {
it("enhances HEIF (sample.heif) input", { timeout: 300_000 }, async () => {
const HEIF = readFileSync(join(FIXTURES, "formats", "sample.heif"));
const res = await postTool({ mode: "auto" }, HEIF, "sample.heif", "image/heif");
expect([200, 422]).toContain(res.statusCode);