-
Notifications
You must be signed in to change notification settings - Fork 396
Switch to codecov-action v5 and remove token #1534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
I think it's some weirdness with the branches; codecov's UI says the "last commit on main" is the last commit that was on the old master branch. I still don't know how to fix it though :) Perhaps we can just delete and recreate the entire codecov project? (also, it looks like the v5 action tries to download a file named "codecov" and then errors because we already have a directory with that name... guess we should rename our directory then?) |
In v5 it should not be required anymore for public repositories See https://github.com/codecov/codecov-action?tab=readme-ov-file#v5-release
f9fac50
to
1b4f670
Compare
|
||
- name: Upload unit test coverage results to Codecov | ||
uses: codecov/codecov-action@v4 | ||
uses: codecov/codecov-action@v5 |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium
Uses Step
|
||
- name: Upload functional test coverage results to Codecov | ||
uses: codecov/codecov-action@v4 | ||
uses: codecov/codecov-action@v5 |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium
Uses Step
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1534 +/- ##
=======================================
Coverage ? 54.62%
=======================================
Files ? 339
Lines ? 27630
Branches ? 0
=======================================
Hits ? 15093
Misses ? 12537
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
okay, it's now at least uploading coverage for the pull request successfully, so i can only hope that it'll also work on the main branch... then again, it was also doing that earlier (i.e. failing on main but successful in PRs), so i don't know if this actually fixes anything. |
(Still WIP)
I'm Trying to debug why coverage updates are not being sent anymore, let's see if updating from v4 to v5 fixes things.
Also in v5 the token should not be required anymore for public repositories, see https://github.com/codecov/codecov-action?tab=readme-ov-file#v5-release