diff --git a/.github/workflows/coverage_runner.yml b/.github/workflows/coverage_runner.yml index 86d90dded8..e3cc0609e2 100644 --- a/.github/workflows/coverage_runner.yml +++ b/.github/workflows/coverage_runner.yml @@ -87,23 +87,29 @@ jobs: - name: Publish results to Codecov for PR coming from hazelcast organization if: ${{ matrix.python-version == needs.python-versions.outputs.latest-python-version && matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request_target' }} - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v5 with: + token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.xml override_pr: ${{ github.event.pull_request.number }} + fail_ci_if_error: true - name: Publish results to Codecov for Push if: ${{ matrix.python-version == needs.python-versions.outputs.latest-python-version && matrix.os == 'ubuntu-latest' && github.event_name == 'push' }} - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v5 with: + token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.xml + fail_ci_if_error: true - name: Publish result to Codecov for PR coming from community if: ${{ matrix.python-version == needs.python-versions.outputs.latest-python-version && matrix.os == 'ubuntu-latest' && github.event_name == 'workflow_dispatch' }} - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v5 with: + token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.xml override_pr: ${{ github.event.inputs.pr_number }} + fail_ci_if_error: true - name: Upload remote controller logs if test run fails uses: actions/upload-artifact@v4