Skip to content

Commit

Permalink
[test] Add test reporter in E2E CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourav Maji committed Oct 29, 2024
1 parent ab3791c commit 1593ffa
Show file tree
Hide file tree
Showing 2 changed files with 330 additions and 231 deletions.
17 changes: 10 additions & 7 deletions .github/rawWorkflows/gh-ci-parameterized-flow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,16 @@
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts
# - name: Generate Test Reports
# if: success() || failure()
# uses: dorny/[email protected]
# with:
# name: ${{ github.job }} Test Reports # Name where it report the test results
# path: '**/TEST-*.xml'
# reporter: java-junit
- name: Generate Test Reports
if: success() || failure()
uses: dorny/[email protected]
with:
name: ${{ github.job }} Test Reports # Name where it report the test results
path: '**/TEST-*.xml'
fail-on-error: 'false'
list-tests: 'failed'
list-suites: 'failed'
reporter: java-junit
- name: Upload Build Artifacts
if: success() || failure()
uses: actions/upload-artifact@v3
Expand Down
Loading

0 comments on commit 1593ffa

Please sign in to comment.