Skip to content

Commit

Permalink
(CAT-1618) - Remove deprecated codecov gem
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbreen28 committed Jan 24, 2024
1 parent 926af00 commit 8657e21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ group :development do
gem "rubocop-rspec", '~> 2.19', :require => false
gem 'simplecov', :require => false
gem 'simplecov-console', :require => false
gem 'codecov', :require => false

if ENV['PUPPET_GEM_VERSION']
gem 'puppet', ENV['PUPPET_GEM_VERSION'], :require => false
Expand Down
9 changes: 2 additions & 7 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@
SimpleCov::Formatter::HTMLFormatter,
SimpleCov::Formatter::Console,
]

if ENV['CI'] == 'true'
require 'codecov'
SimpleCov.formatters << SimpleCov::Formatter::Codecov
end


SimpleCov.start do
track_files 'lib/**/*.rb'
add_filter '/spec'
Expand All @@ -24,6 +19,6 @@
add_filter '/.vendor'
end
rescue LoadError
raise 'Add the simplecov, simplecov-console, codecov gems to Gemfile to enable this task'
raise 'Add the simplecov & simplecov-console gems to Gemfile to enable this task'
end
end

0 comments on commit 8657e21

Please sign in to comment.