diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 558b108e..b9d36ba0 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -40,3 +40,19 @@ jobs:
JWT_KEY: ${{ secrets.JWT_KEY }}
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
+
+ - name: Upload Results
+ uses: actions/upload-artifact@v4
+ if: always()
+ with:
+ name: test-results
+ path: target/reports/**/*.xml
+
+ - name: Generate Report
+ if: ${{ always() && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false) }}
+ uses: dorny/test-reporter@v2.0.0
+ with:
+ name: Tests
+ reporter: java-junit
+ path: target/reports/**/*.xml
+ token: ${{ secrets.GITHUB_TOKEN }}
diff --git a/pom.xml b/pom.xml
index 5fbc7981..3954ab30 100644
--- a/pom.xml
+++ b/pom.xml
@@ -99,6 +99,8 @@
${jacoco.agent} -Xms512m -Xmx1500m
methods
10
+ ${project.build.directory}/reports
+ false