Skip to content

Coverage Report

Coverage Report #2462

name: Coverage Report
on:
workflow_run:
workflows: ['Coverage']
types:
- completed
jobs:
report:
runs-on: ubuntu-latest
permissions:
# Required to put a comment into the pull-request
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Download Artifacts
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
name: coverage-${{ github.event.workflow_run.id }}
path: coverage
- name: Download main Artifacts
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
name: coverage-main
path: coverage-main
- name: Report Coverage
uses: davelosert/vitest-coverage-report-action@8ab049ff5a2c6e78f78af446329379b318544a1a # v2.8.3
with:
file-coverage-mode: all
json-summary-compare-path: coverage-main/coverage-summary.json