-
Notifications
You must be signed in to change notification settings - Fork 145
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
(maint) - Make codecov gem support optional - changes to spec:simplecov rake task #424
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #424 +/- ##
==========================================
- Coverage 41.90% 41.71% -0.19%
==========================================
Files 10 10
Lines 673 676 +3
==========================================
Hits 282 282
- Misses 391 394 +3 ☔ View full report in Codecov by Sentry. |
6ae2284
to
bde61c5
Compare
d3ce31b
to
ee6d8f7
Compare
ee6d8f7
to
765fab0
Compare
Slight nit: I'd rephrase the title as "Make codecov support optional" instead of "Add". Add implies it wasn't there before, but it was. Also, there's a typo in |
ah! derp. @ekohl Thanks for all your help on this one! |
The codecov gem is deprecated, thus we should try to avoid its use if possible. We still allow users to require and use this gem if installed in their environments.
765fab0
to
89c244c
Compare
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.
LGTM
Summary
The codecov gem has been deprecated and unsupported for quite some time now. (2+ years).
This means we are restricted to outdated versions < 0.22 of simplecov which include bugs with ruby 3.2, and naturally wont be receiving further updates. (See here)
We should update the module_spec_helper file to only include this gem if installed by the user, else update documentation to guide users in how to now upload the coverage reports to codecov.io.
Additional Context
See codecov repo https://github.com/codecov/codecov-ruby
Related Issues (if any)
Mention any related issues or pull requests.
Checklist