Count the denoise model in the Windows installer's smoke test
🐳 Android image / Build and push (push) Successful in 4s
Build and test / android-image (push) Successful in 5s
Build and test / Desktop (Linux) (push) Successful in 1h27m54s
🐳 Windows image / Build and push (push) Successful in 5s
Build and test / windows-image (push) Successful in 5s
Build and test / Layer separation (push) Successful in 33s
Build and test / Android (aarch64) (push) Successful in 24m50s
Build and test / Windows (x86_64, cross) (push) Successful in 55m19s
Build and test / Publish the release (push) Successful in 1m20s
🐳 Android image / Build and push (push) Successful in 4s
Build and test / android-image (push) Successful in 5s
Build and test / Desktop (Linux) (push) Successful in 1h27m54s
🐳 Windows image / Build and push (push) Successful in 5s
Build and test / windows-image (push) Successful in 5s
Build and test / Layer separation (push) Successful in 33s
Build and test / Android (aarch64) (push) Successful in 24m50s
Build and test / Windows (x86_64, cross) (push) Successful in 55m19s
Build and test / Publish the release (push) Successful in 1m20s
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user