From 28708ef8d2a0b522bc5f3569853f4b6f80be984f Mon Sep 17 00:00:00 2001 From: Bixilon Date: Sun, 5 Jun 2022 22:28:09 +0200 Subject: [PATCH] github: fail ci when test fails --- .github/workflows/maven.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 831c457a3..ec2d783a4 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -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: