-
Notifications
You must be signed in to change notification settings - Fork 881
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update JUnit test reports on PR merged on main
Signed-off-by: Fabio Di Fabio <[email protected]>
- Loading branch information
Showing
3 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: update-test-reports | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
syncTestReports: | ||
if: github.repository == 'hyperledger/besu' | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Get Unit Test Reports | ||
uses: dawidd6/action-download-artifact@e7466d1a7587ed14867642c2ca74b5bcc1e19a2d | ||
with: | ||
workflow: pre-review.yml | ||
workflow_conclusion: success | ||
pr: ${{github.event.pull_request.number}} | ||
name_is_regexp: true | ||
name: 'unit-.*-test-results' | ||
path: unit-test-results | ||
if_no_artifact_found: true | ||
- name: Upload Unit Test Results | ||
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 | ||
with: | ||
name: unit-all-test-results | ||
path: 'unit-test-results/**/test-results/**/TEST-*.xml' | ||
- name: Get Acceptance Test Reports | ||
uses: dawidd6/action-download-artifact@e7466d1a7587ed14867642c2ca74b5bcc1e19a2d | ||
with: | ||
workflow: acceptance-tests.yml | ||
workflow_conclusion: success | ||
pr: ${{github.event.pull_request.number}} | ||
name_is_regexp: true | ||
name: 'acceptance-node-\d*\d-test-results' | ||
path: acceptance-test-results | ||
if_no_artifact_found: true | ||
- name: Upload Acceptance Test Results | ||
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 | ||
with: | ||
name: acceptance-node-0-test-results | ||
path: 'acceptance-test-results/**/test-results/**/TEST-*.xml' |