From 7c0e56d08e872f698f7e2715fb7561bf69a9038b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Duquette?= Date: Fri, 20 Nov 2026 13:29:31 -0500 Subject: [PATCH] ci(csharp): tolerate mlaunch pid error in iOS nuget tests --- .github/workflows/tests/csharp/ios/action.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests/csharp/ios/action.yml b/.github/workflows/tests/csharp/ios/action.yml index 44180f80..b6610dc6 100644 --- a/.github/workflows/tests/csharp/ios/action.yml +++ b/.github/workflows/tests/csharp/ios/action.yml @@ -46,13 +46,11 @@ runs: shell: bash run: | dotnet build 2>&1 | tee build.log - dotnet build -t:Run -p:_DeviceName=:v2:udid="$IPHONE_16_SIM_UDID" 2>&1 | tee -a build.log + dotnet build -t:Run -p:_DeviceName=:v2:udid="$IPHONE_16_SIM_UDID" 2>&1 | tee -a build.log || true - name: Check fail working-directory: ./wrappers/csharp/tests/unit-tests/nugets/iOS shell: bash run: | + grep -E "Passed: [1-9][0-9]*" build.log grep "Failed: 0" build.log - if [ $? -ne 0 ]; then - exit 1 - fi