Skip to content

Commit 9e7cae6

Browse files
dario-cosciandem0
authored andcommitted
fix coverage from forks
1 parent 5966d03 commit 9e7cae6

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/tester.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,14 @@ jobs:
7474
path: ./cobertura.xml
7575
threshold: 80.123
7676
fail: true
77-
publish: true
77+
publish: false # here we prevent branch push, see issue #548
7878
coverage-summary-title: "Code Coverage Summary"
79+
80+
# post the summary as a PR comment, see issue #548
81+
- name: Comment PR with coverage
82+
uses: marocchino/sticky-pull-request-comment@v2
83+
with:
84+
header: coverage-report
85+
message: |
86+
### Code Coverage Report
87+
${{ steps.coverage.outputs.summary }}

0 commit comments

Comments
 (0)