File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -36,4 +36,15 @@ Use the online [configuration tool](https://reportgenerator.io/usage) to get sta
3636 with :
3737 name : CoverageReport # Artifact name
3838 path : coveragereport # Directory containing files to upload
39+
40+ - name : Add comment to PR # Only applicable if 'MarkdownSummaryGithub' or one of the other Markdown report types is generated
41+ if : github.event_name == 'pull_request'
42+ run : gh pr comment $PR_NUMBER --body-file coveragereport/SummaryGithub.md # Adjust path and filename if necessary
43+ env :
44+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45+ PR_NUMBER : ${{ github.event.number }}
46+
47+ - name : Publish coverage in build summary # Only applicable if 'MarkdownSummaryGithub' or one of the other Markdown report types is generated
48+ run : cat coveragereport/SummaryGithub.md >> $GITHUB_STEP_SUMMARY # Adjust path and filename if necessary
49+ shell : bash
3950` ` `
You can’t perform that action at this time.
0 commit comments