Skip to content

Commit

Permalink
feat(test): update coverage output
Browse files Browse the repository at this point in the history
  • Loading branch information
chiefmikey committed Dec 29, 2024
1 parent 69152eb commit 396baa3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
- name: Run tests with coverage
run: |
npm run test:coverage -- --coverageReporters=text-summary 2>&1 \
| sed '/^=============================== Coverage summary ===============================/d' \
| sed '/^================================================================================/d' \
| sed -n '/^=============================== Coverage summary ===============================/,/^================================================================================/p' \
> coverage.txt
echo "## Coverage Summary" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
cat coverage.txt >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY

0 comments on commit 396baa3

Please sign in to comment.