Skip to content

Commit

Permalink
[KOGITO-5120] Improve GitHub Action reporting (#694)
Browse files Browse the repository at this point in the history
* test

* Improve GHA workflow

* Improve GHA workflow
  • Loading branch information
danielezonca authored May 14, 2021
1 parent 449b9a0 commit 2e61496
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Examples Build

on: [pull_request_target]
on: [pull_request]

jobs:
build-chain:
Expand Down Expand Up @@ -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'

0 comments on commit 2e61496

Please sign in to comment.