summarylogtreecommitdiffstats
path: root/disable-simplecov-lcov.patch
blob: aa4575fe7c02abac3076d551692dbb926c1f4215 (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
31
32
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 02a4c45..4cf1109 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -51,15 +51,12 @@ 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
 
@@ -272,11 +269,6 @@ 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 mri? && windows?
-end
-
 # Make sure to require your project AFTER starting SimpleCov
 #
 require 'process_executer'