File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Build and test project
22
33on :
44 push :
5+ pull_request :
6+ branches :
7+ - master
58
69jobs :
710 Linux :
7780 permissions :
7881 contents : read
7982 id-token : write
83+ pull-requests : write
8084
8185 steps :
8286 - name : Update Git
@@ -146,15 +150,11 @@ jobs:
146150 # Show summary
147151 lcov --summary coverage/coverage.info
148152
149- - name : Upload coverage to Codecov
150- uses : codecov/codecov-action@v4
153+ - name : Post coverage comment to PR
154+ uses : mapbox/gha@action-code-coverage-report-v1
151155 with :
152- file : coverage/coverage.info
153- flags : unittests
154- name : codecov-umbrella
155- fail_ci_if_error : false
156- verbose : true
157- token : ${{ secrets.CODECOV_TOKEN }}
156+ coverage-files : coverage/coverage.info
157+ token : ${{ secrets.GITHUB_TOKEN }}
158158
159159 - name : Upload coverage reports as artifact
160160 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments