Skip to content

Commit

Permalink
Merge pull request #79 from petergoldstein/feature/add_ruby_3_2_to_ci
Browse files Browse the repository at this point in the history
Add Ruby 3.2 to the CI matrix
  • Loading branch information
etagwerker committed Dec 27, 2022
2 parents b750ac7 + a1fff55 commit 654de96
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,17 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['3.1', '3.0', '2.7', '2.6', '2.5']
ruby: ['3.2', '3.1', '3.0', '2.7', '2.6', '2.5']
rails: ['5.1', '5.2', '6.0', '6.1', '7.0']
exclude:
- ruby: '3.2'
rails: '5.1'
- ruby: '3.2'
rails: '5.2'
- ruby: '3.2'
rails: '6.0'
- ruby: '3.2'
rails: '6.1'
- ruby: '3.1'
rails: '5.1'
- ruby: '3.1'
Expand All @@ -29,7 +37,7 @@ jobs:
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: gemfiles/rails_${{ matrix.rails }}.gemfile
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion spec/database_cleaner/active_record/base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module ActiveRecord
allow(::ActiveRecord::Base)
.to receive(:configurations).and_return(ac_db_configurations_mock)
allow(ac_db_configurations_mock)
.to receive(:configs_for).with(name: my_db.to_s).and_return(hash_config_mock)
.to receive(:configs_for).with({ name: my_db.to_s }).and_return(hash_config_mock)
end

let(:ac_db_configurations_mock) do
Expand Down

0 comments on commit 654de96

Please sign in to comment.