Skip to content

Commit

Permalink
test: post coverage to summary
Browse files Browse the repository at this point in the history
  • Loading branch information
FreakinWard committed Apr 23, 2024
1 parent 571b215 commit 2175a91
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,20 @@ jobs:
with:
coverageLocations: ./coverage/lcov.info:lcov

- name: Code Coverage Summary Report
uses: irongut/[email protected]
with:
filename: 'coverage/*/cobertura-coverage.xml'
badge: true
format: 'markdown'
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: Write to Job Summary
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY

0 comments on commit 2175a91

Please sign in to comment.