File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Coverage Report
2+
3+ on :
4+ workflow_run :
5+ workflows : ['Coverage']
6+ types :
7+ - completed
8+
9+ jobs :
10+ report :
11+ runs-on : ubuntu-latest
12+
13+ permissions :
14+ # Required to put a comment into the pull-request
15+ pull-requests : write
16+
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
20+
21+ - name : Download Artifacts
22+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
23+ with :
24+ github-token : ${{ secrets.GITHUB_TOKEN }}
25+ run-id : ${{ github.event.workflow_run.id }}
26+ name : coverage-${{ github.event.workflow_run.id }}
27+ path : coverage
28+
29+ - name : Download main Artifacts
30+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
31+ with :
32+ github-token : ${{ secrets.GITHUB_TOKEN }}
33+ run-id : ${{ github.event.workflow_run.id }}
34+ name : coverage-main
35+ path : coverage-main
36+
37+ - name : Report Coverage
38+ uses : davelosert/vitest-coverage-report-action@fa4d510c186fb4ade39d4abc751385ed72a244f1 # v2.5.1
39+ with :
40+ file-coverage-mode : all
41+ json-summary-compare-path : coverage-main/coverage-summary.json
You can’t perform that action at this time.
0 commit comments