github: fail ci when test fails

This commit is contained in:
Bixilon 2022-06-05 22:28:09 +02:00
parent dea06a7b32
commit 28708ef8d2
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -25,6 +25,8 @@ jobs:
- name: Publish Test Report
if: ${{ always() }}
uses: scacap/action-surefire-report@v1
with:
fail_on_test_failures: true
- name: Upload Linux x64 build
uses: actions/upload-artifact@v2
with:
@ -45,6 +47,8 @@ jobs:
- name: Publish Test Report
if: ${{ always() }}
uses: scacap/action-surefire-report@v1
with:
fail_on_test_failures: true
- name: Upload Windows x64 build
uses: actions/upload-artifact@v2
with: