Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KOGITO-5120] Improve GitHub Action reporting #694

Merged
merged 3 commits into from
May 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'