Skip to content

Add support for new codecov uploader#226

Merged
tvdeyen merged 4 commits intosolidusio:mainfrom
tvdeyen:new-codecov-uploader
Feb 13, 2025
Merged

Add support for new codecov uploader#226
tvdeyen merged 4 commits intosolidusio:mainfrom
tvdeyen:new-codecov-uploader

Conversation

@tvdeyen
Copy link
Copy Markdown
Member

@tvdeyen tvdeyen commented Feb 12, 2025

Summary

The ruby codecov uploader gem is deprecated in favor of the codecov cli. There is a GitHub action that can be used to upload the coverage report.

Set the CODECOV_COVERAGE_PATH env var to use
the simplecov-cobertura formatter.

See: https://docs.codecov.com/docs/deprecated-uploader-migration-guide#ruby-uploader

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Feb 12, 2025

It looks like this PR is missing a label to determine the type of change it introduces. The maintainer should add one of the following labels:

  • bug for bugfixes.
  • enhancement for new features and improvements.
  • documentation for documentation changes.
  • security for security patches.
  • removed for feature removals.
  • infrastructure for internal changes that should not go in the changelog.

Additionally, the maintainer may also want to add one of the following:

  • breaking for breaking changes.
  • deprecated for feature deprecations.

Once the correct labels have been set, simply remove the needs changelog label label from this PR so I can merge it.

@mergify mergify Bot added the needs changelog label Needs a label to determine the type of change. label Feb 12, 2025
tvdeyen added a commit to solidusio-contrib/solidus_reviews that referenced this pull request Feb 12, 2025
@tvdeyen tvdeyen added enhancement Improves an existing feature. deprecated Deprecates a public API or functionality. and removed needs changelog label Needs a label to determine the type of change. labels Feb 12, 2025
@tvdeyen tvdeyen force-pushed the new-codecov-uploader branch from a4fd558 to 2ca5b1b Compare February 12, 2025 23:30
@tvdeyen tvdeyen requested a review from elia February 13, 2025 09:06
@tvdeyen tvdeyen force-pushed the new-codecov-uploader branch from 9b19fbb to e3b2cb7 Compare February 13, 2025 09:16
Copy link
Copy Markdown
Member

@elia elia left a comment

Choose a reason for hiding this comment

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

Great! left some minor comments, pre-approving so you can merge right away after fixing them (if you agree).

Comment thread lib/solidus_dev_support/rspec/coverage.rb Outdated
Comment thread Gemfile
Comment thread Gemfile Outdated
@tvdeyen tvdeyen force-pushed the new-codecov-uploader branch from bc50c70 to f9ce51d Compare February 13, 2025 13:47
The ruby codecov uploader gem is deprecated in favor
of the codecov cli. There is a GitHub action that can be
used to upload the coverage report.

Set the CODECOV_COVERAGE_PATH env var to use
the simplecov-cobertura formatter.

See: https://docs.codecov.com/docs/deprecated-uploader-migration-guide#ruby-uploader
We do not have full Rails 8.0 support yet
The fixes in Solidus are not available everywhere yet.
Rails 7.2 onwards has support for sqlite 2 and this also
allows sqlite >= 2.0 for Rails 8.0 tests.
@tvdeyen tvdeyen force-pushed the new-codecov-uploader branch from 7ffa09f to 396668f Compare February 13, 2025 14:35
tvdeyen added a commit to solidusio/solidus_subscriptions that referenced this pull request Feb 13, 2025
@tvdeyen tvdeyen disabled auto-merge February 13, 2025 15:00
@tvdeyen tvdeyen merged commit 5638b51 into solidusio:main Feb 13, 2025
@tvdeyen tvdeyen deleted the new-codecov-uploader branch February 13, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deprecated Deprecates a public API or functionality. enhancement Improves an existing feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants