From 2e614965b4842efa3a0ff3e030e7f55c4455f3a6 Mon Sep 17 00:00:00 2001 From: Daniele Zonca Date: Fri, 14 May 2021 21:14:34 +0200 Subject: [PATCH] [KOGITO-5120] Improve GitHub Action reporting (#694) * test * Improve GHA workflow * Improve GHA workflow --- .github/workflows/ci-pr.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index e6fa86d9e6..ab97b9859b 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -1,6 +1,6 @@ name: Examples Build -on: [pull_request_target] +on: [pull_request] jobs: build-chain: @@ -29,8 +29,12 @@ jobs: with: definition-file: https://raw.githubusercontent.com/${GROUP}/kogito-pipelines/${BRANCH}/.ci/pull-request-config.yaml env: - BUILD_MVN_OPTS: "-fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120" + BUILD_MVN_OPTS: "-Dmaven.test.failure.ignore=true -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120" - name: Publish Test Report - uses: scacap/action-surefire-report@v1 + if: ${{ always() }} + uses: ginxo/action-surefire-report@BXMSPROD-1311 with: - report_paths: '**/*-reports/TEST-*.xml' + fail_on_test_failures: true + fail_if_no_tests: false + skip_check_run_creation: true + report_paths: '**/*-reports/TEST-*.xml' \ No newline at end of file