File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -81,8 +81,12 @@ end.new do
81
81
SimpleCov . start 'app'
82
82
if @generate_report
83
83
if @running_ci
84
- @output . puts '[COVERAGE] Running with SimpleCov Simple Formatter'
85
- formatters = [ SimpleCov ::Formatter ::SimpleFormatter ]
84
+ require 'codeclimate-test-reporter'
85
+ @output . puts '[COVERAGE] Running with SimpleCov Simple Formatter and CodeClimate Test Reporter'
86
+ formatters = [
87
+ SimpleCov ::Formatter ::SimpleFormatter ,
88
+ CodeClimate ::TestReporter ::Formatter
89
+ ]
86
90
else
87
91
@output . puts '[COVERAGE] Running with SimpleCov HTML Formatter'
88
92
formatters = [ SimpleCov ::Formatter ::HTMLFormatter ]
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ group :test do
29
29
gem 'activerecord'
30
30
gem 'sqlite3' , platform : :ruby
31
31
gem 'activerecord-jdbcsqlite3-adapter' , platform : :jruby
32
+ gem 'codeclimate-test-reporter' , require : false
33
+ end
32
34
33
35
group :test , :development do
34
36
gem 'simplecov' , '~> 0.10' , require : false
You can’t perform that action at this time.
0 commit comments