2021-02-07 17:56:35 +01:00
|
|
|
name: PR Reports
|
|
|
|
on:
|
|
|
|
workflow_run:
|
|
|
|
workflows: [ "Build PR" ]
|
|
|
|
types:
|
|
|
|
- completed
|
|
|
|
jobs:
|
|
|
|
tests:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- setup: linux-x86_64-java8
|
|
|
|
- setup: linux-x86_64-java11
|
|
|
|
- setup: linux-x86_64-java15
|
|
|
|
- setup: linux-x86_64-java11-boringssl
|
|
|
|
steps:
|
|
|
|
- name: Download Artifacts
|
|
|
|
uses: dawidd6/action-download-artifact@v2.11.0
|
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
workflow: ${{ github.event.workflow_run.workflow_id }}
|
2021-03-17 20:18:50 +01:00
|
|
|
workflow_conclusion: completed
|
2021-02-07 17:56:35 +01:00
|
|
|
commit: ${{ github.event.workflow_run.head_commit.id }}
|
|
|
|
# File location set in ci-pr.yml and must be coordinated.
|
|
|
|
name: test-results-${{ matrix.setup }}
|
|
|
|
- name: Publish Test Report
|
|
|
|
uses: scacap/action-surefire-report@v1.0.7
|
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
report_paths: '**/target/surefire-reports/TEST-*.xml'
|
|
|
|
commit: ${{ github.event.workflow_run.head_commit.id }}
|
2021-02-07 19:25:38 +01:00
|
|
|
check_name: ${{ matrix.setup }} test reports
|