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