Generate code coverage comment as collapsible summary (#169)

* Generate codecoverage comment as collapsible summary

* Tweak markdown formatting

[ROCm/rocprofiler-sdk commit: 58ecbd83a9]
This commit is contained in:
Kuricheti, Mythreya
2025-01-30 10:04:07 -08:00
committed by GitHub
parent a8f4499f30
commit 33a480d38e
@@ -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: |