forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test uploading Junit test report artifact
- Loading branch information
1 parent
08d86eb
commit 759ec73
Showing
6 changed files
with
47 additions
and
148 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: "Report JUnit test results" | ||
on: | ||
workflow_run: | ||
workflows: ["Build and test"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
test_report: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download artifact | ||
uses: HyukjinKwon/action-download-artifact@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
workflow: ${{ github.event.workflow_run.workflow_id }} | ||
commit: ${{ github.event.workflow_run.head_commit.id }} | ||
- run: ls -al | ||
- name: Publish test report | ||
uses: HyukjinKwon/action-surefire-report@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
report_paths: "**/target/test-reports/*.xml" | ||
commit: ${{ github.event.workflow_run.head_commit.id }} | ||
|
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
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