Skip to content

Commit

Permalink
Use simplecov-cobertura instead of deprecated codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
y-yagi authored and anilmaurya committed Nov 24, 2023
1 parent dfbbdfc commit d271ac0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aasm.gemspec
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rspec', ">= 3"
s.add_development_dependency 'generator_spec'
s.add_development_dependency 'appraisal'
s.add_development_dependency "simplecov"
s.add_development_dependency "simplecov-cobertura"
s.add_development_dependency "codecov", ">= 0.1.21"

# debugging
Expand Down
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Expand Up @@ -4,8 +4,8 @@
end

if ENV['CI'] == 'true'
require 'codecov'
SimpleCov.formatter = SimpleCov::Formatter::Codecov
require 'simplecov-cobertura'
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
end

$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__)))
Expand Down

0 comments on commit d271ac0

Please sign in to comment.