Exit 1 if there are test failures

This commit is contained in:
jvyden 2021-10-16 21:01:43 -04:00
commit 2af32ea24b
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

@ -54,4 +54,10 @@ jobs:
if: ${{ always() }}
uses: im-open/process-dotnet-test-results@v2.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Check Test Results
if: steps.process-trx.outputs.test-outcome == 'Failed'
run: |
echo "There were test failures."
exit 1