Skip to content

Commit 37aae63

Browse files
authored
Fix codecov-action [DI-520] (#1307)
The C++ coverage action has been [silently failing](https://github.com/hazelcast/hazelcast-cpp-client/actions/runs/15610247637/attempts/1). Updated all usages to: - supply a token to properly authenticate (the reason for the failure) - fail the step if the upload fails (to avoid the error going unreported) - use the latest version (consistency) Fixes: [DI-520](https://hazelcast.atlassian.net/browse/DI-520) [DI-520]: https://hazelcast.atlassian.net/browse/DI-520?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
1 parent 066d454 commit 37aae63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/coverage-report.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,6 @@ jobs:
2828
- name: Publish on Codecov
2929
uses: codecov/codecov-action@v5
3030
with:
31+
token: ${{ secrets.CODECOV_TOKEN }}
3132
files: coverage.info
33+
fail_ci_if_error: true

0 commit comments

Comments
 (0)