Skip to content

Commit 7f753d2

Browse files
radicalCopilot
andauthored
Update .github/workflows/apply-test-attributes.yml
Co-authored-by: Copilot <[email protected]>
1 parent 3839057 commit 7f753d2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/apply-test-attributes.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -383,14 +383,12 @@ jobs:
383383
# Run the tool and capture output
384384
echo "Running: dotnet run --project ${{ github.workspace }}/tools/QuarantineTools/QuarantineTools.csproj -- $FLAG -m $MODE -i \"$ISSUE_URL\" ${TEST_ARRAY[*]}"
385385
386-
set +e
387386
if [ "$ACTION" = "quarantine" ]; then
388-
OUTPUT=$(dotnet run --project ${{ github.workspace }}/tools/QuarantineTools/QuarantineTools.csproj -- $FLAG -m "$MODE" -i "$ISSUE_URL" "${TEST_ARRAY[@]}" 2>&1)
387+
OUTPUT=$(dotnet run --project ${{ github.workspace }}/tools/QuarantineTools/QuarantineTools.csproj -- $FLAG -m "$MODE" -i "$ISSUE_URL" "${TEST_ARRAY[@]}" 2>&1 || true)
389388
else
390-
OUTPUT=$(dotnet run --project ${{ github.workspace }}/tools/QuarantineTools/QuarantineTools.csproj -- $FLAG -m "$MODE" "${TEST_ARRAY[@]}" 2>&1)
389+
OUTPUT=$(dotnet run --project ${{ github.workspace }}/tools/QuarantineTools/QuarantineTools.csproj -- $FLAG -m "$MODE" "${TEST_ARRAY[@]}" 2>&1 || true)
391390
fi
392391
EXIT_CODE=$?
393-
set -e
394392
395393
echo "$OUTPUT"
396394

0 commit comments

Comments
 (0)