Skip to content

Commit

Permalink
Bump codecov/codecov-action from 3 to 4; explicitly pass the Codeco…
Browse files Browse the repository at this point in the history
…v token; use the org-wide Codecov token; fail CI if the Codecov upload fails (so that we quickly notice if the Codecov uploads start having problems) (#82)

* Bump codecov/codecov-action from 3 to 4

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fail CI if the Codecov upload fails

This allows us to very quickly notice if the Codecov upload starts having problems.

* Explicitly pass the Codecov token

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
  • Loading branch information
dependabot[bot] and DilumAluthge authored Jul 28, 2024
1 parent 59b7c89 commit 44fc6aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ jobs:
env:
JULIA_NUM_THREADS: 4
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
file: lcov.info
fail_ci_if_error: true # So that we notice quickly if Codecov is not uploading
token: ${{ secrets.CODECOV_TOKEN }}
docs:
name: Documentation
runs-on: ubuntu-latest
Expand Down

0 comments on commit 44fc6aa

Please sign in to comment.