Skip to content

Commit

Permalink
Merge pull request #333 from ifad/chore/rails8
Browse files Browse the repository at this point in the history
Test against Rails 8.0
  • Loading branch information
tagliala authored Nov 8, 2024
2 parents 8c7ed7b + 4974a4c commit e2c9dfc
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
rubygems: latest
bundler-cache: true
- name: RuboCop
run: bundle exec rubocop
run: bundle exec rubocop -f github
10 changes: 9 additions & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
ruby-version: ['3.0', '3.1', '3.2', '3.3']
gemfile: [rails_7.0, rails_7.1, rails_7.2]
gemfile: [rails_7.0, rails_7.1, rails_7.2, rails_8.0]
postgres-version: ['16']
channel: ['stable']

Expand All @@ -44,6 +44,10 @@ jobs:
gemfile: rails_7.2
postgres-version: '16'
channel: 'experimental'
- ruby-version: 'head'
gemfile: rails_8.0
postgres-version: '16'
channel: 'experimental'
- ruby-version: 'head'
gemfile: rails_edge
postgres-version: '16'
Expand All @@ -52,6 +56,10 @@ jobs:
exclude:
- ruby-version: '3.0'
gemfile: rails_7.2
- ruby-version: '3.0'
gemfile: rails_8.0
- ruby-version: '3.1'
gemfile: rails_8.0
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
TEST_CONFIG: ./spec/config.github.yml
Expand Down
6 changes: 5 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ appraise 'rails-7.1' do
end

appraise 'rails-7.2' do
gem 'rails', '~> 7.2.0.beta2'
gem 'rails', '~> 7.2.0'
end

appraise 'rails-8.0' do
gem 'rails', '~> 8.0.0'
end

appraise 'rails-edge' do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_7.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ gem "byebug"
gem "fuubar"
gem "hirb"
gem "pry"
gem "rails", "~> 7.2.0.beta2"
gem "rails", "~> 7.2.0"
gem "rake"
gem "rspec"
gem "simplecov"
Expand Down
23 changes: 23 additions & 0 deletions gemfiles/rails_8.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "appraisal"
gem "aruba"
gem "bundler"
gem "byebug"
gem "fuubar"
gem "hirb"
gem "pry"
gem "rails", "~> 8.0.0"
gem "rake"
gem "rspec"
gem "simplecov"
gem "rubocop", require: false
gem "rubocop-packaging", require: false
gem "rubocop-performance", require: false
gem "rubocop-rails", require: false
gem "rubocop-rake", require: false
gem "rubocop-rspec", require: false

gemspec path: "../"

0 comments on commit e2c9dfc

Please sign in to comment.