-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplecov libraries are now require false
simplecov required at top of spec_helper.rb Use simplecov configuration file lcov will be used only on CI, default is a html remove duplicate warnings in spec_helper remove some $LOAD_PATH.unshift( at top of spec_helper
- Loading branch information
1 parent
987b9f9
commit 10697d4
Showing
3 changed files
with
18 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# frozen_string_literal: true | ||
|
||
if ENV['GITHUB_USER'] # only when running CI | ||
require 'simplecov-lcov' | ||
SimpleCov::Formatter::LcovFormatter.config do |c| | ||
c.report_with_single_file = true | ||
c.single_report_path = 'coverage/lcov.info' | ||
end | ||
|
||
SimpleCov.formatter = SimpleCov::Formatter::LcovFormatter | ||
end | ||
|
||
SimpleCov.start do | ||
add_filter '/spec/' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters