diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 931f77ad..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 @@ -91,10 +93,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 + name: test-reports-${{ matrix.os }}-${{ matrix.targetPlatform }} + path: | + net.sourceforge.pmd.eclipse.plugin.test/screenshots + net.sourceforge.pmd.eclipse.plugin.test/target/surefire-reports if-no-files-found: ignore 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