-
Notifications
You must be signed in to change notification settings - Fork 4
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
Update CI script #26
Update CI script #26
Conversation
I missed that the codecov action also needs to be updated. I'll push a commit when I checked the potential breakage |
Looks like we can't update https://github.com/codecov/codecov-action#breaking-changes:
Someone would need to setup a token in the Codecov Web UI and set that as a secret for the GH action to use. Maybe in another PR. That means this PR is done |
I have added a |
Sure, that should be relatively simple. The For simple stable/nightly installations, invoking it directly is also a good option. I'll change that in a minute |
- Add token (now required) - Fail CI if uploading fails (Errors would be silent otherwise)
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #26 +/- ##
=======================================
Coverage 66.52% 66.52%
=======================================
Files 4 4
Lines 923 923
=======================================
Hits 614 614
Misses 309 309 ☔ View full report in Codecov by Sentry. |
Removed the dependency on the toolchain action. This means we now rely on the fact that rustup is already installed, which should be a safe bet for github-hosted runners. I also tentatively added the codecov-action update, let's hope it works (errors might only show up after merging, which is a bit of a pain) |
This has turned into a bit of a mess.. I'm tempted to go back to the rust-toolchain action, it is way more convenient. Either way, the PR should be squashed before merging. |
Ok for turning back to the |
It is more convenient and less error-prone, plus it handles some edge cases that might crop up in the future.
Server error 500. I'll rerun it in a few minutes and hopefully see whether it's a real server error or something I changed. |
Looks like v4 of codecov/codecov-action is unreliable: codecov/codecov-action#1274 I'll roll back to v3 for now. |
Isn't CI fun? I'll leave the codecov token stuff in for now, might as well get it out of the way. |
Try to remove |
Sure. Not sure that's great either, but I'll try |
Yee, it worked! |
Of course it works now 🤦 |
Ah, actually, I think I should roll back the token thing for now. I'll open a PR from a branch on rust-av/v_frame to introduce those changes. |
These should be done from a branch on the main repo (not fork) to properly test the token
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, I agree! Approved in advance anyway!
checkout v3 gives some warnings about outdated nodejs.
For
dtolnay/rust-toolchain
, it's not necessary to specify thetoolchain
variable when you usedtolnay/rust-toolchain@stable
,@nightly
etc.