Skip to content

Commit b60d26c

Browse files
FlamefireFlow86
authored andcommitted
GHA: Use CodeCov action for upload
1 parent 75d9c1a commit b60d26c

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/unit-tests.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,12 +212,23 @@ jobs:
212212
- name: Test
213213
run: tools/ci/test.sh
214214

215-
- run: tools/ci/collectCoverageData.sh && external/libutil/tools/ci/uploadCoverageData.sh
215+
- run: tools/ci/collectCoverageData.sh
216216
if: matrix.coverage && success()
217217

218218
- run: tools/ci/checkTestCoverage.sh
219219
if: matrix.coverage && success()
220220

221+
- name: Upload coverage (Codecov)
222+
if: matrix.coverage && success()
223+
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
224+
with:
225+
fail_ci_if_error: true
226+
disable_search: true
227+
files: coverage.info
228+
name: Github Actions
229+
token: ${{secrets.CODECOV_TOKEN}}
230+
verbose: true
231+
221232
- name: Upload coverage (Coveralls)
222233
if: matrix.coverage && success()
223234
uses: coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e # v2.3.7

0 commit comments

Comments
 (0)