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

Add Rails 7 to tests #2132

Merged
merged 1 commit into from
Jan 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 21 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,19 @@ commands:

default_job: &default_job
working_directory: ~/administrate
steps:
- shared_steps
# Run the tests against multiple versions of Rails
- run: bundle exec appraisal install
- run: bundle exec appraisal rspec

jobs:
ruby-26:
<<: *default_job
steps:
- shared_steps
# Run the tests against the versions of Rails that support Ruby 2.6
- run: bundle exec appraisal install
- run: bundle exec appraisal rails50 rspec
- run: bundle exec appraisal rails51 rspec
- run: bundle exec appraisal rails52 rspec
- run: bundle exec appraisal rails60 rspec
- run: bundle exec appraisal rails61 rspec
docker:
- image: circleci/ruby:2.6.3
environment:
Expand All @@ -70,6 +74,16 @@ jobs:

ruby-27:
<<: *default_job
steps:
- shared_steps
# Run the tests against the versions of Rails that support Ruby 2.7
- run: bundle exec appraisal install
- run: bundle exec appraisal rails50 rspec
- run: bundle exec appraisal rails51 rspec
- run: bundle exec appraisal rails52 rspec
- run: bundle exec appraisal rails60 rspec
- run: bundle exec appraisal rails61 rspec
- run: bundle exec appraisal rails70 rspec
docker:
- image: circleci/ruby:2.7
environment:
Expand All @@ -90,6 +104,7 @@ jobs:
- run: bundle exec appraisal install
- run: bundle exec appraisal rails60 rspec
- run: bundle exec appraisal rails61 rspec
- run: bundle exec appraisal rails70 rspec
docker:
- image: circleci/ruby:3.0
environment:
Expand All @@ -109,6 +124,7 @@ jobs:
# Run the tests against the versions of Rails that support Ruby 3.1
- run: bundle exec appraisal install
- run: bundle exec appraisal rails61 rspec
- run: bundle exec appraisal rails70 rspec
docker:
- image: cimg/ruby:3.1-browsers
environment:
Expand Down
4 changes: 4 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ end
appraise "rails61" do
gem "rails", "~> 6.1"
end

appraise "rails70" do
gem "rails", "~> 6.1"
end