Skip to content
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

remove CodeCov from test suite #172

Merged
merged 2 commits into from
Sep 14, 2021
Merged

remove CodeCov from test suite #172

merged 2 commits into from
Sep 14, 2021

Conversation

robbkidd
Copy link
Member

@robbkidd robbkidd commented Sep 14, 2021

Remove CodeCov. (Closes #168.) We're not tracking coverage overtime as much as we used to. SimpleCov is still available to help determine if there is sufficient coverage of a change.

Also remove the main Gemfile.lock (Closes #170.) to allow gem versions to float to latest resolveable by gemspec and Ruby version constraints.

tenor-23748719

Also remove the main Gemfile.lock to allow gem versions to float to
latest resolveable by gemspec and Ruby version constraints.
Because Gemfile.lock has been removed to allow dependencies to resolve
to latest possible, we'll cache dependencies retrieved based on changes
to the gemspec instead of the lock file. Good 'nuff.
@robbkidd robbkidd added type: maintenance The necessary chores to keep the dust off. version: no bump A PR with maintenance or doc changes that aren't included in a release. labels Sep 14, 2021
@robbkidd robbkidd marked this pull request as ready for review September 14, 2021 22:09
@robbkidd robbkidd requested a review from a team September 14, 2021 22:09
require "webmock/rspec"
require "pry"

WebMock.disable_net_connect!

Dir["./spec/support/**/*.rb"].sort.each { |f| require f }
SimpleCov.formatter = SimpleCov::Formatter::Console
SimpleCov.formatter = SimpleCov::Formatter::Codecov if SUPPORT_CODECOV
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why remove this line only?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the line that configures the coverage generating tool (SimpleCov) to use the formatter that sends the report to CodeCov. Without this line, the previous line remains in effect: report current code coverage to STDOUT.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compare the console output end in a test from this PR

Screen Shot 2021-09-14 at 6 26 27 PM

to a test from the past.

Screen Shot 2021-09-14 at 6 27 12 PM

Copy link
Contributor

@vreynolds vreynolds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bbb

@robbkidd robbkidd merged commit 0e99ecc into main Sep 14, 2021
@robbkidd robbkidd deleted the robb.remove-codecov branch September 14, 2021 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: maintenance The necessary chores to keep the dust off. version: no bump A PR with maintenance or doc changes that aren't included in a release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do we need the Gemfile.lock checked in? Address CodeCov gem deprecation and the errors in the nightly.
2 participants