Skip to content

Commit

Permalink
enable JSON Formatter for code coverage on CI for simplecov to make C…
Browse files Browse the repository at this point in the history
…odeClimate work
  • Loading branch information
ArturT committed Jun 5, 2024
1 parent 3b2a569 commit afcdd38
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
#KnapsackPro.logger.level = Logger::INFO

require 'simplecov'

if ENV['CI']
require 'simplecov_json_formatter'
SimpleCov.formatter = SimpleCov::Formatter::JSONFormatter
end

SimpleCov.start


Expand Down

0 comments on commit afcdd38

Please sign in to comment.