Skip to content

Commit

Permalink
Add rails 8 to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
djezzzl committed Dec 24, 2024
1 parent 16bcf9d commit 548cfaf
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
gemfile: 'gemfiles/ar_7_0.gemfile'
- ruby-version: '3.2'
gemfile: 'gemfiles/ar_7_1.gemfile'
- ruby-version: '3.2'
gemfile: 'gemfiles/ar_8_0.gemfile'
- ruby-version: 'head'
gemfile: 'gemfiles/ar_main.gemfile'

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# Ruby Version
.ruby-version
.ruby-gemset
.tool-versions

# Rails Examples
/rails*-example/db/*.sqlite3
Expand Down
2 changes: 1 addition & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ appraise 'ar_4_2' do
gem 'sqlite3', '~> 1.3.9'
end

%w[5.2 6.0 6.1 7.0 7.1].each do |version|
%w[5.2 6.0 6.1 7.0 7.1 8.0].each do |version|
appraise "ar_#{version.gsub('.', '_')}" do
remove_gem 'appraisal'
gem 'activerecord', "~> #{version}.0"
Expand Down
10 changes: 10 additions & 0 deletions gemfiles/ar_8_0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# frozen_string_literal: true

source 'https://rubygems.org'

gem 'activerecord', '~> 8.0.0'
gem 'mysql2', '~> 0.5'
gem 'pg', '>= 0.2'
gem 'sqlite3', '~> 1.3'

gemspec path: '../'

0 comments on commit 548cfaf

Please sign in to comment.