diff options
| author | a14m <[email protected]> | 2020-12-14 20:07:09 +0100 |
|---|---|---|
| committer | a14m <[email protected]> | 2020-12-14 23:02:24 +0100 |
| commit | b710263617e019e4ffed3dbafcc6795f760bb151 (patch) | |
| tree | 0eef3a3f5618a0e7e71164e74db1e49d187fdd92 /CLI/ruby/spec/spec_helper.rb | |
| parent | e674394831d64aa5f64b9ca2b6a67ca16704e358 (diff) | |
Add codecov configurations for monorepo
Diffstat (limited to 'CLI/ruby/spec/spec_helper.rb')
| -rw-r--r-- | CLI/ruby/spec/spec_helper.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CLI/ruby/spec/spec_helper.rb b/CLI/ruby/spec/spec_helper.rb index 0c453de..e7feb44 100644 --- a/CLI/ruby/spec/spec_helper.rb +++ b/CLI/ruby/spec/spec_helper.rb @@ -1,7 +1,10 @@ # frozen_string_literal: true require "simplecov" -SimpleCov.start +SimpleCov.start do + add_filter "/spec/" + enable_coverage :branch +end require "codecov" SimpleCov.formatter = SimpleCov::Formatter::Codecov if ENV["CODECOV_TOKEN"] |
