Skip to content

Add Coverage Reporting #1

Add Coverage Reporting

Add Coverage Reporting #1

Workflow file for this run

name: Test Report
permissions:

Check failure on line 3 in .github/workflows/test-results.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-results.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
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"