diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,6 +1,8 @@
-require 'simplecov'
-SimpleCov.start
+if ENV['CI'] == 'true'
+  require 'simplecov'
+  SimpleCov.start
+  require 'codecov'
+  SimpleCov.formatter = SimpleCov::Formatter::Codecov
+end
 
-require 'codecov'
-SimpleCov.formatter = SimpleCov::Formatter::Codecov
 require 'ooxml_parser'
Do not generate test coverage report unless on CI