fix: restore smoke-init CI pipeline using mock Forgejo (#124)
This commit is contained in:
parent
105070e379
commit
7190abb4e1
3 changed files with 4 additions and 6 deletions
|
|
@ -372,7 +372,7 @@ if [ -n "$mock_state" ]; then
|
|||
fi
|
||||
|
||||
# Verify labels were created
|
||||
labels_total=$(echo "$mock_state" | jq '[.labels.values[] | length] | add // 0' 2>/dev/null) || labels_total=0
|
||||
labels_total=$(echo "$mock_state" | jq '[.labels | to_entries[].value | length] | add // 0' 2>/dev/null) || labels_total=0
|
||||
if [ "$labels_total" -ge 5 ]; then
|
||||
pass "Mock state: ${labels_total} labels created (expected >= 5)"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue