Skip to content

Commit

Permalink
Migrate codecov uploader
Browse files Browse the repository at this point in the history
- [codecov-ruby](https://github.com/codecov/codecov-ruby) is deprecated.
- Followed the [migration guide](https://docs.codecov.com/docs/deprecated-uploader-migration-guide#ruby-uploader) and migrated to the new uploader.
  • Loading branch information
mishina2228 committed Oct 12, 2023
1 parent 355f28d commit 678771d
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 @@ -24,7 +24,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'generator_spec'
s.add_development_dependency 'appraisal'
s.add_development_dependency "simplecov"
s.add_development_dependency "codecov", ">= 0.1.21"
s.add_development_dependency "simplecov-cobertura"

# debugging
# s.add_development_dependency 'debugger'
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 678771d

Please sign in to comment.