Skip to content

Commit

Permalink
Merge pull request #8 from puppetlabs/pdksync_cat-1693-remove_depreca…
Browse files Browse the repository at this point in the history
…ted_codecov

pdksync - (CAT-1618) - Remove deprecated/obsolete codecov gem
  • Loading branch information
gavindidrichsen authored Jan 24, 2024
2 parents 1afe627 + 35c425f commit e3e086f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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 'rubocop-rspec', '~> 2.19'
gem 'rubocop-performance', '~> 1.16'

gem 'codecov'
gem 'simplecov'
gem 'simplecov-console'
end
Expand Down
7 changes: 1 addition & 6 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
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 @@ -27,7 +22,7 @@
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

Expand Down

0 comments on commit e3e086f

Please sign in to comment.