Skip to content

Commit d853989

Browse files
authored
Add JUnit Reports (#468)
* Add Junit Reports * Update build-stubbornjava-web.yml
1 parent 6bc1a26 commit d853989

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build-stubbornjava-web.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,13 @@ jobs:
7474
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
7575
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
7676
run: ./gradlew build sonarqube --no-daemon --info
77-
77+
78+
- name: Publish Unit Test Results
79+
uses: EnricoMi/publish-unit-test-result-action@v1
80+
if: always()
81+
with:
82+
files: "**/build/test-results/test/*.xml"
83+
7884
# This should be switched to use ${{ github.actor }} and ${{ secrets.GITHUB_TOKEN }}
7985
- name: Login to GitHub Container Registry (ghcr.io)
8086
uses: docker/login-action@v1

0 commit comments

Comments
 (0)