blob: 6ba1e22e494d9057dd82aed1eb511191aaba1b04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index e5d00d1..4704650 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -30,25 +30,17 @@ end
# SimpleCov configuration
#
require 'simplecov'
-require 'simplecov-lcov'
-require 'simplecov-rspec'
def ci_build? = ENV.fetch('GITHUB_ACTIONS', 'false') == 'true'
if ci_build?
SimpleCov.formatters = [
SimpleCov::Formatter::HTMLFormatter,
- SimpleCov::Formatter::LcovFormatter
]
end
require 'rbconfig'
-SimpleCov::RSpec.start(list_uncovered_lines: ci_build?) do
- # Avoid false positives in spec directory from JRuby, TruffleRuby, and Windows
- add_filter '/spec/' unless RUBY_ENGINE == 'ruby' && !Gem.win_platform?
-end
-
# Make sure to require your project AFTER starting SimpleCov
#
require 'process_executer'
|