Skip to content

Conversation

@waiting-for-dev
Copy link
Contributor

@waiting-for-dev waiting-for-dev commented May 2, 2023

Summary

Run different Solidus versions on different jobs for better error handling.

We're now explicitly providing the ruby version to the executor while using a matrix configuration for better extensibility.

We're now running the linter on Ruby v3.0, as that's the minimal requirement for Solidus master. As a consequence, we disable the cop for following the gemspec version.

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.

@waiting-for-dev waiting-for-dev self-assigned this May 2, 2023
@waiting-for-dev
Copy link
Contributor Author

CI should be fine once we release a new version of solidus_dev_support with solidusio/solidus_dev_support#205

@waiting-for-dev waiting-for-dev force-pushed the waiting-for-dev/fix_ci branch from 04aa2de to 6cb5129 Compare May 3, 2023 03:46
Run different Solidus versions on different jobs for better error handling.

We're now explicitly providing the ruby version to the executor while using a matrix configuration for better extensibility.

We're now running the linter on Ruby v3.0, as that's the minimal
requirement for Solidus master. As a consequence, we disable the cop for
following the gemspec version.
@kennyadsl
Copy link
Member

@waiting-for-dev I think we need to remove this line:

require 'spree/testing_support/factories'
. It's not needed anymore, now that we have
SolidusDevSupport::TestingSupport::Factories.load_for(SolidusAuthDevise::Engine)
.

That's not needed anymore, as we're now using `.load_for` method.

See d2a1096
@waiting-for-dev waiting-for-dev force-pushed the waiting-for-dev/fix_ci branch from 6cb5129 to 19e8abc Compare May 3, 2023 10:27
@waiting-for-dev
Copy link
Contributor Author

@waiting-for-dev I think we need to remove this line:

require 'spree/testing_support/factories'

. It's not needed anymore, now that we have

SolidusDevSupport::TestingSupport::Factories.load_for(SolidusAuthDevise::Engine)

.

Good call. Changed!

@waiting-for-dev waiting-for-dev marked this pull request as ready for review May 3, 2023 12:39
@waiting-for-dev waiting-for-dev requested a review from elia May 3, 2023 12:40
@waiting-for-dev waiting-for-dev merged commit d82056d into master May 3, 2023
@waiting-for-dev waiting-for-dev deleted the waiting-for-dev/fix_ci branch May 3, 2023 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants