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