Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Fix CI for TruffleRuby #321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 27, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Disable SimpleCov on truffleruby as it adds around 5 seconds to tests…
… for little value
  • Loading branch information
eregon committed Feb 27, 2023
commit ed6e20624293cccd64d6a3f84a7c9f6071970da7
12 changes: 7 additions & 5 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# frozen_string_literal: true

require "simplecov"
SimpleCov.start do
add_filter("idempotency_test.rb") unless ENV["CI"]
add_group("lib", "lib")
add_group("test", "test")
unless RUBY_ENGINE == "truffleruby"
require "simplecov"
SimpleCov.start do
add_filter("idempotency_test.rb") unless ENV["CI"]
add_group("lib", "lib")
add_group("test", "test")
end
end

$LOAD_PATH.unshift(File.expand_path("../lib", __dir__))
Expand Down