Skip to content

Commit 93a9d30

Browse files
committed
Expanded test matrix.
1 parent e7d3519 commit 93a9d30

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

.github/workflows/test-activerecord.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ jobs:
77
strategy:
88
matrix:
99
entry:
10-
- { ruby: '3.4', postgresql: '17', activerecord: '~> 8.0.2', grape: '2.4.0' }
10+
- { ruby: '3.4', postgresql: '15', activerecord: '~> 6.1.0', grape: '~> 1.8.0' }
11+
- { ruby: '3.4', postgresql: '16', activerecord: '~> 7.2.0', grape: '~> 2.4.0' }
12+
- { ruby: '3.4', postgresql: '17', activerecord: '~> 8.0.3', grape: '~> 2.4.0' }
1113
name: test (ruby=${{ matrix.entry.ruby }}, postgresql=${{ matrix.entry.postgresql }}, activerecord=${{ matrix.entry.activerecord }}, grape=${{ matrix.entry.grape }})
1214
env:
1315
ACTIVERECORD_VERSION: ${{ matrix.entry.activerecord }}

.github/workflows/test-mongodb.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ jobs:
77
strategy:
88
matrix:
99
entry:
10-
- { ruby: '3.4', mongoid: '6.4.8', mongodb: '6.0', grape: '1.7.0' }
10+
- { ruby: '2.7', mongoid: '~> 5.4.1', mongodb: '6.0', grape: '~> 1.7.0' }
11+
- { ruby: '3.4', mongoid: '~> 6.4.8', mongodb: '6.0', grape: '~> 1.7.0' }
12+
- { ruby: '3.4', mongoid: '~> 6.4.8', mongodb: '6.0', grape: '~> 2.0.0' }
1113
name: test (ruby=${{ matrix.entry.ruby }}, mongoid=${{ matrix.entry.mongoid }}, mongodb=${{ matrix.entry.mongodb }}, grape=${{ matrix.entry.grape }})
1214
env:
1315
MONGOID_VERSION: ${{ matrix.entry.mongoid }}

.rubocop_todo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2025-09-24 16:57:49 UTC using RuboCop version 1.80.2.
3+
# on 2025-09-24 17:31:48 UTC using RuboCop version 1.80.2.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new

Gemfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ end
1515

1616
group :development, :test do
1717
gem 'base64'
18-
gem 'bigdecimal'
18+
if ENV.key?('MONGOID_VERSION') && Gem::Version.new(ENV.fetch('MONGOID_VERSION', nil)) < Gem::Version.new('6')
19+
gem 'bigdecimal', '~> 1.3.5'
20+
else
21+
gem 'bigdecimal'
22+
end
1923
gem 'mutex_m'
2024
gem 'nokogiri'
2125
gem 'ostruct'

0 commit comments

Comments
 (0)