Skip to content

Commit ed6e206

Browse files
committed
Disable SimpleCov on truffleruby as it adds around 5 seconds to tests for little value
1 parent ff9094a commit ed6e206

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

test/test_helper.rb

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# frozen_string_literal: true
22

3-
require "simplecov"
4-
SimpleCov.start do
5-
add_filter("idempotency_test.rb") unless ENV["CI"]
6-
add_group("lib", "lib")
7-
add_group("test", "test")
3+
unless RUBY_ENGINE == "truffleruby"
4+
require "simplecov"
5+
SimpleCov.start do
6+
add_filter("idempotency_test.rb") unless ENV["CI"]
7+
add_group("lib", "lib")
8+
add_group("test", "test")
9+
end
810
end
911

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

0 commit comments

Comments
 (0)