diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-02 03:17:32 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-02 03:17:32 +0300 |
commit | ef615776bf132cb0c56cafd51ac97fb1b7f26a58 (patch) | |
tree | 6656732d3d9434300c6fcf4057254083c9b269eb /spec/simplecov_env.rb | |
parent | 7b78125a3829026f54bd87ab560758de3f37ad82 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/simplecov_env.rb')
-rw-r--r-- | spec/simplecov_env.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/simplecov_env.rb b/spec/simplecov_env.rb index 25dd3a937ca..a5efc8348a4 100644 --- a/spec/simplecov_env.rb +++ b/spec/simplecov_env.rb @@ -2,6 +2,7 @@ require 'simplecov' require 'simplecov-cobertura' +require 'simplecov-lcov' require_relative '../lib/gitlab/utils' module SimpleCovEnv @@ -18,10 +19,13 @@ module SimpleCovEnv end def configure_formatter + SimpleCov::Formatter::LcovFormatter.config.report_with_single_file = true + SimpleCov.formatters = SimpleCov::Formatter::MultiFormatter.new([ SimpleCov::Formatter::SimpleFormatter, SimpleCov::Formatter::HTMLFormatter, - SimpleCov::Formatter::CoberturaFormatter + SimpleCov::Formatter::CoberturaFormatter, + SimpleCov::Formatter::LcovFormatter ]) end |