Skip to content

Commit

Permalink
Merge pull request #819 from y-yagi/ci-against-rails-71
Browse files Browse the repository at this point in the history
CI against Rails 7.1
  • Loading branch information
jkowens committed Nov 2, 2023
2 parents 10dd9e3 + 5a7a612 commit 9616c6d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,16 @@ jobs:
ruby:
- 3.2
env:
- AR_VERSION: '7.1'
RUBYOPT: --enable-frozen-string-literal
- AR_VERSION: '7.0'
RUBYOPT: --enable-frozen-string-literal
- AR_VERSION: 6.1
RUBYOPT: --enable-frozen-string-literal
include:
- ruby: 3.1
env:
AR_VERSION: '7.1'
- ruby: 3.1
env:
AR_VERSION: '7.0'
Expand Down
3 changes: 3 additions & 0 deletions gemfiles/7.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# frozen_string_literal: true

gem 'activerecord', '~> 7.1.0'
4 changes: 3 additions & 1 deletion test/schema/generic_schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

ActiveRecord::Schema.define do
create_table :schema_info, force: :cascade do |t|
t.integer :version, unique: true
t.integer :version
end
add_index :schema_info, :version, unique: true

SchemaInfo.create version: SchemaInfo::VERSION

create_table :group, force: :cascade do |t|
Expand Down

0 comments on commit 9616c6d

Please sign in to comment.