Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/ci-test-results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,25 @@ jobs:
if: github.event.workflow_run.conclusion != 'skipped'

steps:
- name: Download and Extract Artifacts
- name: Download Test Results
uses: dawidd6/action-download-artifact@v19
with:
run_id: ${{ github.event.workflow_run.id }}
name: test-results
path: artifacts

- name: Download Event File
uses: dawidd6/action-download-artifact@v19
with:
run_id: ${{ github.event.workflow_run.id }}
name: event-file
path: event

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
with:
commit: ${{ github.event.workflow_run.head_sha }}
event_file: ${{ github.event.workflow_run.event_path }}
event_file: event/event.json
event_name: ${{ github.event.workflow_run.event }}
large_files: true
report_individual_runs: true
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,9 @@ jobs:
with:
name: test-results
path: '**/target/surefire-reports/*.xml'
- name: Upload Event File
if: always()
uses: actions/upload-artifact@v7
with:
name: event-file
path: ${{ github.event_path }}
Loading