-
Notifications
You must be signed in to change notification settings - Fork 180
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, 21 ]
os: [ ubuntu-latest ]
steps:
- name: Download Artifacts
uses: dawidd6/action-download-artifact@bf251b5aa9c2f7eeb574a96ee720e24f801b7c11
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@a2911bd1a4412ec18dde2d93b1758b3e56d2a880
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 }}