File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed
Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 3030 bundler-cache : true # runs 'bundle install' and caches installed gems automatically
3131 - name : Run tests
3232 run : bundle exec rake
33+ - name : Upload coverage reports to Codecov
34+ 35+ env :
36+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 11source 'http://rubygems.org'
22gemspec
3+
4+ gem 'simplecov'
5+ gem 'simplecov-cobertura'
Original file line number Diff line number Diff line change @@ -27,5 +27,4 @@ Gem::Specification.new do |spec|
2727 spec . add_development_dependency 'oj' , '~> 3.6.2'
2828 end
2929 spec . add_development_dependency 'rubocop' , '~> 1.0'
30- spec . add_development_dependency 'codecov' , '~> 0.6'
3130end
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
3- # https://github.com/codecov/codecov-ruby#usage
43require 'simplecov'
54SimpleCov . start
6- require 'codecov '
7- SimpleCov . formatter = SimpleCov ::Formatter ::Codecov
5+ require 'simplecov-cobertura '
6+ SimpleCov . formatter = SimpleCov ::Formatter ::CoberturaFormatter
87
98require 'segment/analytics'
109require 'active_support/time'
You can’t perform that action at this time.
0 commit comments