Skip to content

Commit ed84436

Browse files
authored
Updated publishing of PR test result (#168)
1 parent 4e732e0 commit ed84436

File tree

2 files changed

+5
-25
lines changed

2 files changed

+5
-25
lines changed

.github/workflows/pr-check.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,9 @@ jobs:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4848
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4949

50-
- name: Archive build and test reports 🗃️
51-
uses: actions/upload-artifact@v4
52-
if: success() || failure()
50+
- name: Publish Test Results
51+
uses: EnricoMi/publish-unit-test-result-action@v2
52+
if: always()
5353
with:
54-
name: test-results
55-
path: ./**/build/test-results/test/*.xml
56-
retention-days: 7
54+
files: |
55+
build/test-results/test/*.xml

.github/workflows/test-report.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)