Skip to content

Commit

Permalink
Merge branch 'zdennis:master' into feature--add-trilogy-adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
zmariscal authored Nov 9, 2023
2 parents 1b9ea07 + 9616c6d commit 0d0f2ea
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
9 changes: 7 additions & 2 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 Expand Up @@ -71,7 +76,7 @@ jobs:
AR_VERSION: ${{ matrix.env.AR_VERSION }}
DB_DATABASE: activerecord_import_test
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down Expand Up @@ -110,7 +115,7 @@ jobs:
env:
AR_VERSION: '7.0'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
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 0d0f2ea

Please sign in to comment.