Skip to content

Commit

Permalink
setup action to report coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
andrueastman committed Nov 4, 2024
1 parent 88fcd52 commit ddad29d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build_test_validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,19 @@ jobs:
USER_ID: ${{secrets.user_id}}
- run: npm run test
- run: npm run test:coverage
- name: Code Coverage Report
uses: irongut/[email protected]
with:
filename: "packages/**/coverage/cobetura-coverage.xml"
format: markdown
hide_branch_rate: false
output: both
- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
with:
recreate: true
path: code-coverage-results.md
- name: Archive coverage files
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit ddad29d

Please sign in to comment.