Skip to content

Commit

Permalink
Merge pull request #187 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 committed Jan 24, 2024
2 parents 46d2a15 + 5b14f2e commit db92a66
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ group :test do
gem 'rspec-json_expectations', '~> 1.4'
gem 'simplecov', :require => false
gem 'simplecov-console', :require => false
gem 'codecov', :require => false
end

group :acceptance do
Expand Down
6 changes: 1 addition & 5 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,14 @@
SimpleCov::Formatter::HTMLFormatter,
SimpleCov::Formatter::Console,
]
if ENV['CI'] == 'true'
require 'codecov'
SimpleCov.formatters << SimpleCov::Formatter::Codecov
end

SimpleCov.start do
add_filter('/spec/')
add_filter('/vendor/')
add_group('Checks', 'lib/puppet-lint/plugins')
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

Expand Down

0 comments on commit db92a66

Please sign in to comment.