From a9dfe66a701bd3622573242c074d4bf1de97950a Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Sun, 4 Oct 2026 02:49:48 -0400 Subject: [PATCH] Count the denoise model in the Windows installer's smoke test package.sh stages models/denoise beside face, scene and inpaint, and the smoke test counted only the other three, so 0.21.0's Windows job failed with "expected 14 model files, installed 15". The count reads the same directories package.sh copies, as its comment intends. --- .gitea/workflows/build-and-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build-and-test.yml b/.gitea/workflows/build-and-test.yml index dc27d52..cd18b1c 100644 --- a/.gitea/workflows/build-and-test.yml +++ b/.gitea/workflows/build-and-test.yml @@ -490,7 +490,7 @@ jobs: # As many files as package.sh stages: everything but the READMEs in # the directories it copies. A literal here went stale the first # time a model was added. - WANT=$(find models/face models/scene models/inpaint -maxdepth 1 -type f ! -name README.md | wc -l) + WANT=$(find models/face models/scene models/inpaint models/denoise -maxdepth 1 -type f ! -name README.md | wc -l) GOT=$(ls "$INST/models" | wc -l) [ "$GOT" = "$WANT" ] || { echo "FAIL: expected $WANT model files, installed $GOT"; exit 1; } # The manual, and every picture it shows, counted the same way.