Skip to content

Commit 37e62ed

Browse files
committed
Skip mongo tests
1 parent 23a8c2f commit 37e62ed

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
@@ -137,8 +137,10 @@
137137
'activesupport' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ 3.4 / ✅ 3.5 / ✅ jruby'
138138
},
139139
'mongodb' => {
140-
'mongo-latest' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ 3.4 / ✅ 3.5 / ✅ jruby',
141-
'mongo-min' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ 3.4 / ✅ 3.5 / ✅ jruby',
140+
# MongoDB does not support JRuby 10.0, which fails on an error related the bson_ruby NativeService for latest versions.
141+
# https://github.com/mongodb/mongo-ruby-driver#mongodb-ruby-driver
142+
'mongo-latest' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ 3.4 / ✅ 3.5 / ✅ jruby / ❌ jruby 10.0',
143+
'mongo-min' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ 3.4 / ✅ 3.5 / ✅ jruby / ❌ jruby 10.0',
142144
},
143145
'mysql2' => {
144146
'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.start_with?('10.') && 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)