Skip to content

Commit a0b85c8

Browse files
committed
Fix sqlite3 compatibility in test matrix
- Use Ruby 3.3 instead of 3.0 (3.0 is EOL, 3.3 supports sqlite3 2.x) - Pin sqlite3 ~> 1.4 for Rails 6.x (required by activerecord 6.1)
1 parent 3e656a8 commit a0b85c8

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
ruby-version:
16-
- '3.0'
16+
- '3.3'
1717
gemfile:
1818
- gemfiles/rails_6.x_active_admin_2.x.gemfile
1919
- gemfiles/rails_6.x_active_admin_3.x.gemfile

Appraisals

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ end
1616
appraise 'rails-6.x-active-admin-2.x' do
1717
gem 'rails', '~> 6.1'
1818
gem 'activeadmin', '~> 2.0'
19+
gem 'sqlite3', '~> 1.4'
1920
end
2021

2122
appraise 'rails-6.x-active-admin-3.x' do
2223
gem 'rails', '~> 6.1'
2324
gem 'activeadmin', '~> 3.0'
25+
gem 'sqlite3', '~> 1.4'
2426
end
2527

2628
appraise 'rails-7.x-active-admin-3.x' do

gemfiles/rails_6.x_active_admin_2.x.gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ source "https://rubygems.org"
55
gem "sass-rails"
66
gem "rails", "~> 6.1"
77
gem "activeadmin", "~> 2.0"
8+
gem "sqlite3", "~> 1.4"
89

910
gemspec path: "../"

gemfiles/rails_6.x_active_admin_3.x.gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ source "https://rubygems.org"
55
gem "sass-rails"
66
gem "rails", "~> 6.1"
77
gem "activeadmin", "~> 3.0"
8+
gem "sqlite3", "~> 1.4"
89

910
gemspec path: "../"

0 commit comments

Comments
 (0)