Skip to content

Commit bd9f4a7

Browse files
committed
Expanded test matrix.
1 parent e7d3519 commit bd9f4a7

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

.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 }}

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['MONGOID_VERSION']) < 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)