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

Bump simplecov and coveralls #1514

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 11, 2023

Bumps simplecov and coveralls. These dependencies needed to be updated together.
Updates simplecov from 0.16.1 to 0.22.0

Release notes

Sourced from simplecov's releases.

v0.21.2

Bugfixes

  • maximum_coverage_drop won't fail any more if .last_run.json is still in the old format. Thanks @​petertellgren
  • maximum_coverage_drop won't fail if an expectation is specified for a previous unrecorded criterion, it will just pass (there's nothing, so nothing to drop)
  • fixed bug in maximum_coverage_drop calculation that could falsely report it had dropped for minimal differences

v0.21.1

Bugfixes

  • minimum_coverage_by_file works again as expected (errored out before 😱)

v0.21.0

The "Collate++" release making it more viable for big CI setups by limiting memory consumption. Also includes some nice new additions for branch coverage settings.

Enhancements

  • Performance of SimpleCov.collate improved - it should both run faster and consume much less memory esp. when run with many files (memory consumption should not increase with number of files any more)
  • Can now define the minimum_coverage_by_file, maximum_coverage_drop and refuse_coverage_drop by branch as well as line coverage. Thanks to @​jemmaissroff
  • Can set primary coverage to something other than line by setting primary_coverage :branch in SimpleCov Configuration. Thanks to @​jemmaissroff

Misc

  • reduce gem size by splitting Changelog into Changelog.md and a pre 0.18 Changelog.old.md, the latter of which is not included in the gem
  • The interface of ResultMeger.merge_and_store is changed to support the collate performance improvements mentioned above. It's not considered an official API, hence this is not in the breaking section. For people using it to merge results from different machines, it's recommended to migrate to collate.

v0.20.0

The "JSON formatter" release. Starting now a JSON formatter is included by default in the release. This is mostly done for Code Climate reasons, you can find more details in this issue. Shipping with so much by default is sub-optimal, we know. It's the long term plan to also provide simplecov-core without the HTML or JSON formatters for those who don't need them/for other formatters to rely on.

Enhancements

  • simplecov_json_formatter included by default (docs), this should enable the Code Climate test reporter to work again once it's updated
  • invalidate internal cache after switching SimpleCov.root, should help with some bugs

v0.19.1

Bugfixes

  • No more warnings triggered by enable_for_subprocesses. Thanks to @​mame
  • Avoid trying to patch Process.fork when it isn't available. Thanks to @​MSP-Greg

v0.19.0

Breaking Changes

  • Dropped support for Ruby 2.4, it reached EOL

Enhancements

  • observe forked processes (enable with SimpleCov.enable_for_subprocesses). See #881, thanks to @​robotdana
  • SimpleCov distinguishes better that it stopped processing because of a previous error vs. SimpleCov is the originator of said error due to coverage requirements.

Bugfixes

  • Changing the SimpleCov.root combined with the root filtering didn't work. Now they do! Thanks to @​deivid-rodriguez and see #894
  • in parallel test execution it could happen that the last coverage result was written to disk when it didn't complete yet, changed to only write it once it's the final result
  • if you run parallel tests only the final process will report violations of the configured test coverage, not all previous processes
  • changed the parallel_tests merging mechanisms to do the waiting always in the last process, should reduce race conditions

... (truncated)

Changelog

Sourced from simplecov's changelog.

0.22.0 (2022-12-23)

Enhancements

Bugfixes

0.21.2 (2021-01-09)

Bugfixes

  • maximum_coverage_drop won't fail any more if .last_run.json is still in the old format. Thanks @​petertellgren
  • maximum_coverage_drop won't fail if an expectation is specified for a previous unrecorded criterion, it will just pass (there's nothing, so nothing to drop)
  • fixed bug in maximum_coverage_drop calculation that could falsely report it had dropped for minimal differences

0.21.1 (2021-01-04)

Bugfixes

  • minimum_coverage_by_file works again as expected (errored out before 😱)

0.21.0 (2021-01-03)

The "Collate++" release making it more viable for big CI setups by limiting memory consumption. Also includes some nice new additions for branch coverage settings.

Enhancements

  • Performance of SimpleCov.collate improved - it should both run faster and consume much less memory esp. when run with many files (memory consumption should not increase with number of files any more)
  • Can now define the minimum_coverage_by_file, maximum_coverage_drop and refuse_coverage_drop by branch as well as line coverage. Thanks to @​jemmaissroff
  • Can set primary coverage to something other than line by setting primary_coverage :branch in SimpleCov Configuration. Thanks to @​jemmaissroff

Misc

  • reduce gem size by splitting Changelog into Changelog.md and a pre 0.18 Changelog.old.md, the latter of which is not included in the gem
  • The interface of ResultMeger.merge_and_store is changed to support the collate performance improvements mentioned above. It's not considered an official API, hence this is not in the breaking section. For people using it to merge results from different machines, it's recommended to migrate to collate.

0.20.0 (2020-11-29)

The "JSON formatter" release. Starting now a JSON formatter is included by default in the release. This is mostly done for Code Climate reasons, you can find more details in this issue. Shipping with so much by default is sub-optimal, we know. It's the long term plan to also provide simplecov-core without the HTML or JSON formatters for those who don't need them/for other formatters to rely on.

Enhancements

  • simplecov_json_formatter included by default (docs), this should enable the Code Climate test reporter to work again once it's updated
  • invalidate internal cache after switching SimpleCov.root, should help with some bugs

0.19.1 (2020-10-25)

... (truncated)

Commits
  • 0e35b25 Add missing closing parenthesis)
  • 8117802 Merge pull request #1041 from simplecov-ruby/co-prepare-0.22.0
  • 26407f1 Hmm, ok maybe I actually have to bump the version here as well
  • 8fdc6b9 Run bundle lock in each test project directory
  • 7f44498 Go back to prior bundler and json formatter versions, to make CI happy
  • 761956b Bump to latest bundler version for development
  • 8f3be99 Bump version, update changelog
  • 43f0e39 Merge pull request #1034 from nhtruong/main
  • 6bc65b0 Merge pull request #1037 from mame/coverage-for-eval
  • 56ca3f5 Show a warning for the case where coverage for eval is unavailable
  • Additional commits viewable in compare view

Updates coveralls from 0.8.23 to 0.7.1

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [simplecov](https://github.com/simplecov-ruby/simplecov) and [coveralls](https://coveralls.io). These dependencies needed to be updated together.

Updates `simplecov` from 0.16.1 to 0.22.0
- [Release notes](https://github.com/simplecov-ruby/simplecov/releases)
- [Changelog](https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md)
- [Commits](simplecov-ruby/simplecov@v0.16.1...v0.22.0)

Updates `coveralls` from 0.8.23 to 0.7.1

---
updated-dependencies:
- dependency-name: simplecov
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: coveralls
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from Br3nda as a code owner September 11, 2023 07:48
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Sep 11, 2023
@coveralls
Copy link

Coverage Status

coverage: 96.154%. remained the same when pulling 76b9b9c on dependabot/bundler/simplecov-and-coveralls-0.22.0 into 9d3be04 on mainline.

@CloCkWeRX CloCkWeRX merged commit b2717eb into mainline Sep 11, 2023
3 checks passed
@CloCkWeRX CloCkWeRX deleted the dependabot/bundler/simplecov-and-coveralls-0.22.0 branch September 11, 2023 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants