- name: Publish Test Report
if: failure()
uses: scacap/action-surefire-report@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
check_name: Test Report for ${{ matrix.module }} on ${{ matrix.database }}
fail_if_no_tests: false
We get the following error:
Run scacap/action-surefire-report@v1
Going to parse results form **/surefire-reports/TEST-*.xml
**/failsafe-reports/TEST-*.xml
Error: ((testcase.failure && testcase.failure._cdata) || (testcase.failure && testcase.failure._text) || (testcase.error && testcase.error._cdata) || (testcase.error && testcase.error._text) || "").trim is not a function
When using this action with this configuration:
We get the following error:
example build: https://github.com/mustaphazorgati/taskana/runs/1818385382?check_suite_focus=true
XML Report (extracted from the example build): surefire-xml-report.zip