From cc545ebfffd71b7c349d06059a6771ed7ce2d60c Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Fri, 28 Aug 2026 13:48:11 +0200 Subject: [PATCH 1/3] chore: Upload surefire reports for failed unit tests --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 931f77ad..82100db0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -91,10 +91,12 @@ jobs: verify \ -Dtarget.platform="${TARGET_PLATFORM}" - - name: Upload screenshots of failed unit tests + - name: Upload screenshots and surefire reports of failed unit tests uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #v7.0.1 if: ${{ failure() }} with: name: screenshots-${{ matrix.os }}-${{ matrix.targetPlatform }} - path: net.sourceforge.pmd.eclipse.plugin.test/screenshots + path: | + net.sourceforge.pmd.eclipse.plugin.test/screenshots + net.sourceforge.pmd.eclipse.plugin.test/target/surefire-reports if-no-files-found: ignore From c2c25ae17264739580054475a78d58977a1f5b69 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Fri, 28 Aug 2026 13:50:51 +0200 Subject: [PATCH 2/3] Rename artifact, also upload for fail-fast build --- .github/workflows/build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 82100db0..ec0747ac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,12 +35,14 @@ jobs: ${xvfb_cmd} ./mvnw --show-version --errors --batch-mode \ verify - - name: Upload screenshots of failed unit tests + - name: Upload screenshots and surefire reports of failed unit tests uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #v7.0.1 if: ${{ failure() }} with: - name: screenshots-ubuntu-latest - path: net.sourceforge.pmd.eclipse.plugin.test/screenshots + name: test-reports-ubuntu-latest + path: | + net.sourceforge.pmd.eclipse.plugin.test/screenshots + net.sourceforge.pmd.eclipse.plugin.test/target/surefire-reports if-no-files-found: ignore - name: Upload update-site @@ -95,7 +97,7 @@ jobs: uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #v7.0.1 if: ${{ failure() }} with: - name: screenshots-${{ matrix.os }}-${{ matrix.targetPlatform }} + name: test-reports-${{ matrix.os }}-${{ matrix.targetPlatform }} path: | net.sourceforge.pmd.eclipse.plugin.test/screenshots net.sourceforge.pmd.eclipse.plugin.test/target/surefire-reports From 05fb361d021131c43b72ec0ac719099bd2235f8a Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Fri, 28 Aug 2026 15:09:06 +0200 Subject: [PATCH 3/3] Update release notes --- ReleaseNotes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 924f0cc4..dd8790b1 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -19,6 +19,7 @@ This is a minor release. * [#430](https://github.com/pmd/pmd-eclipse-plugin/pull/430): chore: Use client-id for create-github-app-token - [Andreas Dangel](https://github.com/adangel) (@adangel) * [#431](https://github.com/pmd/pmd-eclipse-plugin/pull/431): chore: Improve logging during tests at waitForPMDJobs - [Andreas Dangel](https://github.com/adangel) (@adangel) * [#432](https://github.com/pmd/pmd-eclipse-plugin/pull/432): refactor: Remove custom JavaProject cache - [Andreas Dangel](https://github.com/adangel) (@adangel) +* [#449](https://github.com/pmd/pmd-eclipse-plugin/pull/449): chore: Upload surefire reports for failed unit tests - [Andreas Dangel](https://github.com/adangel) (@adangel) ### 📦 Dependency updates