Generate code coverage comment as collapsible summary (#169)

* Generate codecoverage comment as collapsible summary

* Tweak markdown formatting
Этот коммит содержится в:
Kuricheti, Mythreya authored and GitHub committed 2025-01-30 12:04:07 -06:00
1 родитель 39db6d842f
Коммит 58ecbd83a9
1 file changed
+7 -1
+7 -1
Просмотреть файл
@@ -487,7 +487,13 @@ jobs:
timeout-minutes: 5
uses: actions/github-script@v6
env:
COMMENT_BODY: ${{ steps.generatereport.outputs.CODECOVERAGE_REPORT }}
COMMENT_BODY: |
<details>
<summary><h2>Code Coverage Report</h2></summary>
<!-- Keep the empty line above to render markdown properly -->
${{ steps.generatereport.outputs.CODECOVERAGE_REPORT }}
</details>
with:
github-token: ${{ secrets.TOKEN }}
script: |