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

Skip failing test because of unsupported feature on Rails < 6.1 #4432

Merged
merged 1 commit into from
Jun 21, 2022

Conversation

waiting-for-dev
Copy link
Contributor

ActiveStorageAdapter is only supposed to work on Rails versions
greater than 6.1.

CI was silently failing on Rails 5.2 because of calling abort on our
code
.

I'll create a follow-up PR using raise instead of abort.

@waiting-for-dev waiting-for-dev marked this pull request as draft June 21, 2022 10:54
@waiting-for-dev waiting-for-dev force-pushed the waiting-for-dev/fix_ci branch from 8824964 to 564f7bd Compare June 21, 2022 11:07
`ActiveStorageAdapter` is only supposed to work on Rails versions
greater than 6.1.

CI was silently failing on Rails 5.2 & 6.0 because of calling `abort` on
our code [1].

1 - https://github.com/solidusio/solidus/blob/aa77140e8c5b07ab597126ba76524a3931bbb449/core/app/models/concerns/spree/active_storage_adapter.rb#L13
@waiting-for-dev waiting-for-dev force-pushed the waiting-for-dev/fix_ci branch from 564f7bd to f1f9ca1 Compare June 21, 2022 11:42
@waiting-for-dev waiting-for-dev changed the title Skip failing test because of unsupported feature on Rails 5.2 Skip failing test because of unsupported feature on Rails < 6.1 Jun 21, 2022
@waiting-for-dev waiting-for-dev marked this pull request as ready for review June 21, 2022 11:58
@waiting-for-dev
Copy link
Contributor Author

I will merge it even if there's only a single approval, as it's a fix for the CI and blocking all other open PRs.

@waiting-for-dev waiting-for-dev merged commit 56a63b3 into solidusio:master Jun 21, 2022
@waiting-for-dev waiting-for-dev deleted the waiting-for-dev/fix_ci branch June 21, 2022 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants