-
Notifications
You must be signed in to change notification settings - Fork 181
31 lines (31 loc) · 1.16 KB
/
ci-prb-reports.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: PR Builder Reports
on:
workflow_run:
workflows: [ "PR Builder" ]
types:
- completed
jobs:
tests:
runs-on: ubuntu-latest
strategy:
# Matrix should be coordinated with ci-prb.yml.
matrix:
java: [ 8, 11, 17, 20 ]
os: [ ubuntu-latest ]
steps:
- name: Download Artifacts
uses: dawidd6/action-download-artifact@268677152d06ba59fcec7a7f0b5d961b6ccd7e1e
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: ${{ github.event.workflow_run.workflow_id }}
workflow_conclusion: completed
commit: ${{ github.event.workflow_run.head_commit.id }}
# File location set in ci-prb.yml and must be coordinated.
name: test-results-${{ matrix.os }}-${{ matrix.java }}
- name: Publish Test Report
uses: scacap/action-surefire-report@6efd3d10b5c1996a0724dd4c4915a073f685fefa
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
report_paths: '**/build/test-results/test/TEST-*.xml'
commit: ${{ github.event.workflow_run.head_commit.id }}
check_name: Test Report JDK ${{ matrix.java }} ${{ matrix.os }}