Skip to content

Commit cb734ad

Browse files
committed
feat: Add sticky comments for coverage status on Linux and Windows
1 parent c527cb9 commit cb734ad

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/coverage.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,30 @@ jobs:
2929
- name: Checkout
3030
uses: actions/checkout@v4
3131

32+
- name: Post Coverage Started Comment (Linux)
33+
if: startsWith(matrix.os, 'ubuntu')
34+
uses: marocchino/sticky-pull-request-comment@v2
35+
with:
36+
header: coverage-linux
37+
message: |
38+
## Test Coverage Report (Linux)
39+
40+
:hourglass_flowing_sand: **Coverage analysis in progress...**
41+
42+
This comment will be updated with results when the analysis completes.
43+
44+
- name: Post Coverage Started Comment (Windows)
45+
if: startsWith(matrix.os, 'windows')
46+
uses: marocchino/sticky-pull-request-comment@v2
47+
with:
48+
header: coverage-windows
49+
message: |
50+
## Test Coverage Report (Windows)
51+
52+
:hourglass_flowing_sand: **Coverage analysis in progress...**
53+
54+
This comment will be updated with results when the analysis completes.
55+
3256
- name: Set Python to PATH
3357
uses: actions/setup-python@v5
3458
with:

0 commit comments

Comments
 (0)