From 8420284ab095585062b2b87611ab22484fff13e2 Mon Sep 17 00:00:00 2001 From: Christian Ortlepp Date: Wed, 26 Nov 2025 09:56:35 +0100 Subject: [PATCH 1/3] ci: add test reports to ci --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db4a2e9350..bdf565c614 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,6 +52,9 @@ jobs: run: mvn -B -e -Papache-release -Dgpg.skip=true -Dmaven.compiler.release=${{ matrix.java }} verify - name: Remove Snapshots run: find ~/.m2/repository -name '*-SNAPSHOT' -a -type d -print0 | xargs -0 rm -rf + - name: Publish Test Report + uses: ScaCap/action-surefire-report@v1.9.1 + if: always() site: name: Site runs-on: ubuntu-24.04 From 29a384bbb6c07607619190837037ad47bb3fde34 Mon Sep 17 00:00:00 2001 From: Christian Ortlepp Date: Wed, 26 Nov 2025 10:16:55 +0100 Subject: [PATCH 2/3] ci: increase heap size for test report analysis --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdf565c614..2481a30109 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,6 +55,8 @@ jobs: - name: Publish Test Report uses: ScaCap/action-surefire-report@v1.9.1 if: always() + env: + NODE_OPTIONS: '--max_old_space_size=4096' site: name: Site runs-on: ubuntu-24.04 From 0beda119728917858e0aed9ad3d56e78016e14ac Mon Sep 17 00:00:00 2001 From: Christian Ortlepp Date: Fri, 28 Nov 2025 12:07:45 +0100 Subject: [PATCH 3/3] ci: try ctrf report integration --- .github/workflows/ci.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2481a30109..eec78da117 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,10 +53,26 @@ jobs: - name: Remove Snapshots run: find ~/.m2/repository -name '*-SNAPSHOT' -a -type d -print0 | xargs -0 rm -rf - name: Publish Test Report - uses: ScaCap/action-surefire-report@v1.9.1 + uses: ctrf-io/github-test-reporter@v1.0.26 + with: + github-report: true + report-path: '**/target/surefire-reports/*.xml' + integrations-config: | + { + "junit-to-ctrf": { + "enabled": true, + "action": "convert", + "options": { + "output": "./target/ctrf-reports/ctrf-report.json", + "toolname": "junit-to-ctrf", + "useSuiteName": false, + "env": { + "appName": "axis2" + } + } + } + } if: always() - env: - NODE_OPTIONS: '--max_old_space_size=4096' site: name: Site runs-on: ubuntu-24.04