ci: fix multicast network tests on macos

This commit is contained in:
shum
2025-11-03 11:42:04 +00:00
parent 49b19c1445
commit 18ba233f3a
+2 -1
View File
@@ -427,7 +427,8 @@ jobs:
attempts=1
${{ (github.ref == 'refs/heads/stable' || startsWith(github.ref, 'refs/tags/v')) }} && attempts=3
while [ "$i" -le "$attempts" ]; do
if cabal test --test-show-details=direct; then
# sudo needed with macos >15 due to Apple changes. See: https://github.com/actions/runner-images/issues/10924
if sudo cabal test --test-show-details=direct; then
break
else
echo "Attempt $i failed, retrying..."