diff --git a/.circleci/config.yml b/.circleci/config.yml index 6864f0e574..99f1be40da 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: @@ -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: @@ -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: @@ -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: diff --git a/Appraisals b/Appraisals index 3fca237f78..16342df08b 100644 --- a/Appraisals +++ b/Appraisals @@ -37,3 +37,7 @@ end appraise "rails61" do gem "rails", "~> 6.1" end + +appraise "rails70" do + gem "rails", "~> 6.1" +end