Add Coverage Reporting #1
Workflow file for this run
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
name: Test Report | ||
permissions: | ||
checks: write | ||
pull-requests: write | ||
on: | ||
workflow_run: | ||
workflows: ["Tests"] | ||
types: | ||
- completed | ||
jobs: | ||
download_and_report: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Step to download artifact from a previous workflow run 1 | ||
- name: Download Artifact 1 | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: Test Results (Matlab R2022b) # Replace with your actual artifact name | ||
path: test-results/artifact1 | ||
# Step to download artifact from a previous workflow run 2 | ||
- name: Download Artifact 2 | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: Test Results (Matlab latest) # Replace with your actual artifact name | ||
path: test-results/artifact2 | ||
# Step to download artifact from a previous workflow run 3 | ||
- name: Download Artifact 3 | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: Test Results (Octave) # Replace with your actual artifact name | ||
path: test-results/artifact3 | ||
- name: Publish Test Results | ||
uses: EnricoMi/publish-unit-test-result-action@v2 | ||
with: | ||
files: | | ||
test-results/*/testresults.xml | ||
check_name: "Test Results" | ||