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

Refactor test dependencies #315

Merged
merged 3 commits into from
Jun 15, 2023
Merged

Refactor test dependencies #315

merged 3 commits into from
Jun 15, 2023

Conversation

excid3
Copy link
Collaborator

@excid3 excid3 commented Jun 15, 2023

This changes the default Sidekiq version to 7 for tests and adds a specific appraisal for Sidekiq 6 since it needs to continue to be tested for backwards compatibility.

@excid3 excid3 merged commit 7fce32f into master Jun 15, 2023
@excid3 excid3 deleted the refactor-test-dependencies branch June 15, 2023 22:03
gem "standard"
gem "appraisal"
gem "sidekiq", "~> 7.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure I like this, because Sidekiq is now too tangled with acts_as_tenant. In fact, the sidekiq integration, DelayedJob or others, should be separate gems that depend on this one

IMO sidekiq doesn't belong in the Gemfile and should be in it's own appraisal

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is simply for testing and there is no actual dependency on Sidekiq.

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