Skip to content

Commit

Permalink
Merge pull request #71 from puppetlabs/pdksync_cat-1693-remove_deprec…
Browse files Browse the repository at this point in the history
…ated_codecov

pdksync - (CAT-1618) - Remove deprecated/obsolete codecov gem
  • Loading branch information
gavindidrichsen authored Jan 24, 2024
2 parents e3830cf + c637586 commit a119123
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ group :development do
gem 'rubocop-performance', '~> 1.16', require: false
gem 'rubocop-rspec', '~> 2.19', require: false

gem 'codecov'
gem 'simplecov'
gem 'simplecov-console'

Expand Down
3 changes: 1 addition & 2 deletions spec/fixtures/module/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ group :development do
gem "metadata-json-lint", '>= 2.0.2', '< 4.0.0', require: false
gem "puppetlabs_spec_helper", '~> 5.0', require: false
gem "rspec-puppet-facts", '~> 2.0', require: false
gem "codecov", '~> 0.2', require: false
gem "dependency_checker", '~> 0.2', require: false
gem "parallel_tests", '= 3.12.1', require: false
gem "pry", '~> 0.10', require: false
gem "simplecov-console", '~> 0.5', require: false
gem "simplecov-console", '~> 0.9', require: false
gem "puppet-debugger", '~> 1.0', require: false
gem "rubocop", '= 1.48.1', require: false
gem "rubocop-performance", '= 1.16.0', 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
track_files 'lib/**/*.rb'
add_filter '/spec'
Expand All @@ -27,7 +22,7 @@
add_filter 'lib/puppet/modulebuilder/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 a119123

Please sign in to comment.