From 18ba233f3a362d1963b62950a8ab86e35afd31a8 Mon Sep 17 00:00:00 2001 From: shum Date: Mon, 3 Nov 2025 11:42:04 +0000 Subject: [PATCH] ci: fix multicast network tests on macos --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7f72d114b9..5597e95a7b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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..."