Skip to content

Commit

Permalink
do not require native extension on JRuby
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Mar 14, 2024
1 parent aad8042 commit 30f6da8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/datadog/ci/cov/cov_spec.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# frozen_string_literal: true

require "datadog_cov.#{RUBY_VERSION}_#{RUBY_PLATFORM}"

require_relative "calculator/calculator"

RSpec.describe Datadog::CI::Cov do
before do
if PlatformHelpers.jruby?
skip "Code coverage is not supported in JRuby"
else
require "datadog_cov.#{RUBY_VERSION}_#{RUBY_PLATFORM}"
end
end

Expand Down

0 comments on commit 30f6da8

Please sign in to comment.