Skip to content

Commit

Permalink
add pull request coverage report comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mynamesleon committed Dec 17, 2023
1 parent 7248403 commit 85b63f8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'

jobs:
build:
Expand Down Expand Up @@ -32,3 +35,10 @@ jobs:
indicators: true
output: both
thresholds: '50 75'

- 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

0 comments on commit 85b63f8

Please sign in to comment.