Skip to content

Commit

Permalink
Revert "Remove publishing of junit test results (#317)"
Browse files Browse the repository at this point in the history
This reverts commit 6187394.
  • Loading branch information
dajudge authored Sep 12, 2024
1 parent 6187394 commit 55854f1
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,30 @@ jobs:
- name: Build with Gradle
env:
CONTAINER_FILTER: ${{ matrix.version }}
run: ./gradlew build
run: ./gradlew build
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v2
with:
name: Test Results
path: build/test-results/test/*.xml

publish-test-results:
name: "Publish Tests Results"
needs: build
runs-on: ubuntu-latest
permissions:
checks: write
pull-requests: write
if: always()

steps:
- name: Download Artifacts
uses: actions/download-artifact@v2
with:
path: artifacts

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
with:
junit_files: "artifacts/**/*.xml"

0 comments on commit 55854f1

Please sign in to comment.