Generate code coverage comment as collapsible summary (#169)

* Generate codecoverage comment as collapsible summary

* Tweak markdown formatting
Этот коммит содержится в:
Kuricheti, Mythreya
2025-01-30 10:04:07 -08:00
коммит произвёл GitHub
родитель 39db6d842f
Коммит 58ecbd83a9
+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: |