Skip to content

Commit

Permalink
Merge pull request #368 from puppetlabs/pdksync_cat-1693-remove_depre…
Browse files Browse the repository at this point in the history
…cated_codecov

pdksync - (CAT-1618) - Remove deprecated/obsolete codecov gem
  • Loading branch information
gavindidrichsen authored Jan 24, 2024
2 parents 926af00 + 8657e21 commit 56308f5
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 56308f5

Please sign in to comment.