Skip to content

Commit

Permalink
feat(test): update coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
chiefmikey committed Dec 28, 2024
1 parent f2ccd02 commit e6b4851
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ jobs:
- name: Run tests with coverage
run: |
npm run test:coverage -- --coverageReporters=text-summary 2>&1 \
| sed -n '/^=============================== Coverage summary ===============================/,/^================================================================================/p' \
| sed '/^=============================== Coverage summary ===============================/d' \
| sed '/^================================================================================/d' \
> 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 e6b4851

Please sign in to comment.