Skip to content

Commit

Permalink
Merge pull request #25 from DataDog/tonycthsu/fix-jruby-test-runner
Browse files Browse the repository at this point in the history
Fix jruby test runner
  • Loading branch information
anmarchenko authored Sep 8, 2023
2 parents 25d26b2 + 7a19429 commit cfa058f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ namespace :test do
spec_arguments = args.task_args

appraisals = spec_metadata.select do |_, rubies|
(RUBY_PLATFORM == "java" && rubies.include?("✅ jruby")) || rubies.include?("✅ #{ruby_version}")
if RUBY_PLATFORM == "java"
rubies.include?("✅ #{ruby_version}") && rubies.include?("✅ jruby")
else
rubies.include?("✅ #{ruby_version}")
end
end

appraisals.each do |appraisal_group, _|
Expand Down

0 comments on commit cfa058f

Please sign in to comment.