Skip to content

Commit

Permalink
Merge pull request #104 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 21388a9 + 06214d5 commit 196b83f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ group :test do

gem 'rake', require: false

gem 'codecov', require: false
gem 'rspec', '~> 3.0', require: false
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-performance', '~> 1.16', require: false
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
add_filter %r{^/spec/}
add_filter %r{^/vendor/}
Expand All @@ -23,7 +18,7 @@
add_filter 'lib/rspec-puppet/version.rb'
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
7 changes: 1 addition & 6 deletions spec/spec_helper_unit.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
add_filter %r{^/spec/}
add_filter %r{^/vendor/}
Expand All @@ -23,7 +18,7 @@
add_filter 'lib/rspec-puppet/version.rb'
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 196b83f

Please sign in to comment.