Skip to content

Commit

Permalink
Add Rails 7.1 to CI build
Browse files Browse the repository at this point in the history
Test if things work on Rails 7.1.

Follow up of #994

[skip changeset]
  • Loading branch information
tombruijn committed Oct 6, 2023
1 parent 29970d9 commit 399989f
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 0 deletions.
72 changes: 72 additions & 0 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,24 @@ blocks:
value: latest
commands:
- "./support/bundler_wrapper exec rake test"
- name: Ruby 3.0.5 for rails-7.1
env_vars:
- *2
- *3
- *4
- *5
- name: RUBY_VERSION
value: 3.0.5
- name: GEMSET
value: rails-7.1
- name: BUNDLE_GEMFILE
value: gemfiles/rails-7.1.gemfile
- name: _RUBYGEMS_VERSION
value: latest
- name: _BUNDLER_VERSION
value: latest
commands:
- "./support/bundler_wrapper exec rake test"
- name: Ruby 3.0.5 for sequel
env_vars:
- *2
Expand Down Expand Up @@ -1156,6 +1174,24 @@ blocks:
value: latest
commands:
- "./support/bundler_wrapper exec rake test"
- name: Ruby 3.1.3 for rails-7.1
env_vars:
- *2
- *3
- *4
- *5
- name: RUBY_VERSION
value: 3.1.3
- name: GEMSET
value: rails-7.1
- name: BUNDLE_GEMFILE
value: gemfiles/rails-7.1.gemfile
- name: _RUBYGEMS_VERSION
value: latest
- name: _BUNDLER_VERSION
value: latest
commands:
- "./support/bundler_wrapper exec rake test"
- name: Ruby 3.1.3 for sequel
env_vars:
- *2
Expand Down Expand Up @@ -1513,6 +1549,24 @@ blocks:
value: latest
commands:
- "./support/bundler_wrapper exec rake test"
- name: Ruby 3.2.1 for rails-7.1
env_vars:
- *2
- *3
- *4
- *5
- name: RUBY_VERSION
value: 3.2.1
- name: GEMSET
value: rails-7.1
- name: BUNDLE_GEMFILE
value: gemfiles/rails-7.1.gemfile
- name: _RUBYGEMS_VERSION
value: latest
- name: _BUNDLER_VERSION
value: latest
commands:
- "./support/bundler_wrapper exec rake test"
- name: Ruby 3.2.1 for sequel
env_vars:
- *2
Expand Down Expand Up @@ -1690,3 +1744,21 @@ blocks:
value: latest
commands:
- "./support/bundler_wrapper exec rake test"
- name: Ruby jruby-9.4.1.0 for rails-7.1
env_vars:
- *2
- *3
- *4
- *5
- name: RUBY_VERSION
value: jruby-9.4.1.0
- name: GEMSET
value: rails-7.1
- name: BUNDLE_GEMFILE
value: gemfiles/rails-7.1.gemfile
- name: _RUBYGEMS_VERSION
value: latest
- name: _BUNDLER_VERSION
value: latest
commands:
- "./support/bundler_wrapper exec rake test"
8 changes: 8 additions & 0 deletions build_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ matrix:
- "rails-6.0"
- "rails-6.1"
- "rails-7.0"
- "rails-7.1"

ruby:
- ruby: "2.7.8"
Expand Down Expand Up @@ -235,6 +236,13 @@ matrix:
- "3.1.3"
- "3.2.1"
- "jruby-9.4.1.0"
- gem: "rails-7.1"
only:
ruby:
- "3.0.5"
- "3.1.3"
- "3.2.1"
- "jruby-9.4.1.0"
- gem: "sequel"
- gem: "sinatra"
- gem: "webmachine1"
Expand Down
7 changes: 7 additions & 0 deletions gemfiles/rails-7.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source "https://rubygems.org"

gem "rails", "~> 7.1.0"
gem "rake", "> 12.2"
gem "sidekiq"

gemspec :path => "../"

0 comments on commit 399989f

Please sign in to comment.