Skip to content

Commit

Permalink
* Use simplecov-cobertura like roadie-rails
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuEXE committed May 13, 2024
1 parent 87c972b commit 3691e24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ source "https://rubygems.org"
gemspec

# Added here so it does not show up on the Gemspec; I only want it for CI builds
gem "codecov", group: :test, require: false
gem "simplecov", group: :test, require: false
gem "simplecov-cobertura", group: :test, require: false
# Not actually required to run the tests for the gem, but a real convenience
# for local development.
gem "standard", group: [:test, :development], require: false
Expand Down
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
require "simplecov"
SimpleCov.start

require "codecov"
SimpleCov.formatter = SimpleCov::Formatter::Codecov
require "simplecov-cobertura"
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
end

$: << File.dirname(__FILE__) + "/../lib"
Expand Down

0 comments on commit 3691e24

Please sign in to comment.