mirror of
https://github.com/endofunky/sidetiq.git
synced 2022-11-09 13:53:30 -05:00
Only create coverage report if COVERAGE env variable is set.
This commit is contained in:
parent
6af12d204c
commit
3454176a04
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
require 'simplecov'
|
||||
SimpleCov.start { add_filter "/test/" }
|
||||
if ENV["COVERAGE"]
|
||||
require 'simplecov'
|
||||
SimpleCov.start { add_filter "/test/" }
|
||||
end
|
||||
|
||||
require 'minitest/autorun'
|
||||
require 'mocha/setup'
|
||||
|
|
Loading…
Reference in a new issue