Skip to content

Report Proposed Changes Test Results #74

Report Proposed Changes Test Results

Report Proposed Changes Test Results #74

# (c) https://github.com/MontiCore/monticore
name: Report Proposed Changes Test Results
on:
workflow_run:
workflows: [ Test Proposed Changes ]
types: [ completed ]
# Note: This is a separate workflow (file) to constrain the write permissions
permissions:
checks: write
jobs:
checks:
runs-on: ubuntu-latest
steps:
- name: Download Test Report
uses: dawidd6/action-download-artifact@20319c5641d495c8a52e688b7dc5fada6c3a9fbc
with:
name: junit-test-results
workflow: ${{ github.event.workflow.id }}
run_id: ${{ github.event.workflow_run.id }}
- name: Publish Test Report
uses: mikepenz/action-junit-report@a451de5ac1ff45e46508b6150cb4f51a287d0309
with:
commit: ${{github.event.workflow_run.head_sha}}
report_paths: '**/target/test-results/test/TEST-*.xml'