Skip to content

Commit 149b850

Browse files
committed
Skip mongo tests
1 parent 20b3b66 commit 149b850

File tree

4 files changed

+6
-163
lines changed

4 files changed

+6
-163
lines changed

Matrixfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,10 @@
131131
'activesupport' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ 3.4 / ✅ 3.5 / ✅ jruby'
132132
},
133133
'mongodb' => {
134-
'mongo-latest' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ 3.4 / ✅ 3.5 / ✅ jruby',
135-
'mongo-min' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ 3.4 / ✅ 3.5 / ✅ jruby',
134+
# MongoDB does not support JRuby 10.0, which fails on an error related the bson_ruby NativeService for latest versions.
135+
# https://github.com/mongodb/mongo-ruby-driver#mongodb-ruby-driver
136+
'mongo-latest' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ 3.4 / ✅ 3.5 / ✅ jruby / ❌ jruby 10.0',
137+
'mongo-min' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ 3.4 / ✅ 3.5 / ✅ jruby / ❌ jruby 10.0',
136138
},
137139
'mysql2' => {
138140
'relational_db' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ 3.4 / ✅ 3.5 / ❌ jruby'

gemfiles/jruby_10.0_mongo_min.gemfile

Lines changed: 0 additions & 37 deletions
This file was deleted.

gemfiles/jruby_10.0_mongo_min.gemfile.lock

Lines changed: 0 additions & 124 deletions
This file was deleted.

tasks/runtime_matcher.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ def self.match?(rubies)
44
ruby_version = RUBY_VERSION[0..2]
55

66
if RUBY_PLATFORM == 'java'
7+
return false if ruby_version == '3.4' && rubies.include?('❌ jruby 10.0')
8+
79
rubies.include?("✅ #{ruby_version}") && rubies.include?('✅ jruby')
810
else
911
rubies.include?("✅ #{ruby_version}")

0 commit comments

Comments
 (0)