From c97dbd1a281d9ce8a915e8048787b613ce014603 Mon Sep 17 00:00:00 2001 From: ricklentz Date: Tue, 6 Oct 2026 19:48:15 -0400 Subject: [PATCH 1/3] Fix test-report job: add missing checkout step dorny/test-reporter needs a git repository to create check runs. The test-report job was missing a checkout step, causing a "fatal: not a git repository" error. --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a40b6d01d7..3b67cfedc1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,6 +66,9 @@ jobs: checks: write steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Download test results uses: actions/download-artifact@v4 with: From cdb64bef93428785c1d474bd5eb040991b7e34a7 Mon Sep 17 00:00:00 2001 From: ricklentz Date: Tue, 6 Oct 2026 20:02:10 -0400 Subject: [PATCH 2/3] Update dorny/test-reporter from v1 to v3 v1 targets deprecated Node.js 20 and fails silently on large repos. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3b67cfedc1..20a42f8b41 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -76,7 +76,7 @@ jobs: path: test-results - name: Publish test report - uses: dorny/test-reporter@v1 + uses: dorny/test-reporter@v3 with: name: JUnit Test Results path: test-results/TEST-*.xml From b8ddf7db34ca0b691745362ec7678c8a32aee6dc Mon Sep 17 00:00:00 2001 From: ricklentz Date: Tue, 6 Oct 2026 20:16:28 -0400 Subject: [PATCH 3/3] Replace dorny/test-reporter with mikepenz/action-junit-report dorny/test-reporter runs git ls-files on the full repo which times out with tens of thousands of generated files. mikepenz/action-junit-report reads test XML directly without scanning the git tree. Also moves test reporting into the build job, eliminating the separate test-report job. --- .github/workflows/build.yml | 33 +++++++-------------------------- 1 file changed, 7 insertions(+), 26 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 20a42f8b41..33cc12d8d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,6 +34,13 @@ jobs: - name: Build and test run: ant all + - name: Publish test report + if: always() + uses: mikepenz/action-junit-report@v5 + with: + report_paths: build/test/results/TEST-*.xml + check_name: JUnit Test Results + - name: Upload jars uses: actions/upload-artifact@v4 with: @@ -55,29 +62,3 @@ jobs: name: test-results path: build/test/results/ retention-days: 14 - - test-report: - needs: build - if: always() - runs-on: ubuntu-latest - - permissions: - contents: read - checks: write - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Download test results - uses: actions/download-artifact@v4 - with: - name: test-results - path: test-results - - - name: Publish test report - uses: dorny/test-reporter@v3 - with: - name: JUnit Test Results - path: test-results/TEST-*.xml - reporter: java-junit