Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ruby 3.2 to the CI matrix #79

Merged
merged 2 commits into from
Dec 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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