mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 09:41:04 +01:00
ci: assert privacy-sized preview
This commit is contained in:
1 parent
d471effa4c
commit
944ca620d5
1 file changed
+2
-2
@@ -76,8 +76,8 @@ jobs:
|
||||
dimensions="$(identify -format '%wx%h' "$preview")"
|
||||
width="${dimensions%x*}"
|
||||
height="${dimensions#*x}"
|
||||
test "$width" -le 160
|
||||
test "$height" -le 160
|
||||
test "$width" -le 96
|
||||
test "$height" -le 96
|
||||
test -z "$(find public-report/evidence -type f -name final-state.png ! -path '*/public-visuals/*' -print -quit)"
|
||||
grep -F 'public-visuals/final-state.png' public-report/index.html
|
||||
grep -F '<img src=' public-report/index.html
|
||||
|
||||
Reference in new issue
Block a user