mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-09 13:28:39 +00:00
Exit 1 if there are test failures
This commit is contained in:
parent
75bd8e6100
commit
2af32ea24b
1 changed files with 7 additions and 1 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue