We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 757fefd commit 2e18844Copy full SHA for 2e18844
1 file changed
.github/workflows/code-coverage.yml
@@ -23,9 +23,10 @@ jobs:
23
- name: Run coverage and extract table
24
run: |
25
npm run test:coverage > full-coverage.txt || true
26
- # Extract the coverage table (lines between table header and footer)
27
sed -n '/^-------------------------|---------|----------|---------|---------|/,$p' full-coverage.txt | \
28
- sed '/^=============================== Coverage summary ===============================/,$d' > coverage-table.txt
+ sed '/^=============================== Coverage summary ===============================/,$d' | \
+ # Remove first and last border lines:
29
+ sed '1d;$d' > coverage-table.txt
30
31
- name: Comment test results
32
uses: marocchino/sticky-pull-request-comment@v2
0 commit comments