Skip to content

Commit

Permalink
Remove deprecated codecov uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
otherguy committed Apr 22, 2024
1 parent 259d2b2 commit 1de3b54
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ orbs:
ruby: circleci/[email protected]
sonarcloud: sonarsource/[email protected]
asdf: rynkowsg/[email protected]
codecov: codecov/[email protected]

# Pipeline parameters
parameters:
Expand Down Expand Up @@ -129,7 +130,7 @@ jobs:
# Store test results
- store_test_results:
path: rspec/rspec.xml
# Persist test results to workspace for default Ruby
# Persist test results to workspace and upload to CodeCov for default Ruby
- when:
condition:
and:
Expand All @@ -141,6 +142,7 @@ jobs:
paths:
- rspec
- coverage
- codecov/upload

# Sonarcloud Job
sonarcloud:
Expand Down
3 changes: 0 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ GEM
thor (>= 0.14.0)
ast (2.4.2)
bigdecimal (3.1.7)
codecov (0.6.0)
simplecov (>= 0.15, < 0.22)
coderay (1.1.3)
crack (1.0.0)
bigdecimal
Expand Down Expand Up @@ -131,7 +129,6 @@ PLATFORMS
DEPENDENCIES
appraisal (~> 2.5)
bundler (~> 2.0)
codecov (~> 0.6)
pry (~> 0.14)
rake (~> 13.2)
remove_bg!
Expand Down
1 change: 0 additions & 1 deletion remove_bg.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "appraisal", "~> 2.5"

spec.add_development_dependency "bundler", "~> 2.0"
spec.add_development_dependency "codecov", "~> 0.6"
spec.add_development_dependency "pry", "~> 0.14"
spec.add_development_dependency "rake", "~> 13.2"
spec.add_development_dependency "rspec", "~> 3.8"
Expand Down
6 changes: 0 additions & 6 deletions spec/support/simplecov.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,3 @@
SimpleCov.start do
add_filter "/spec/"
end

if ENV.key?("UPLOAD_COVERAGE")
require "codecov"

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([SimpleCov::Formatter::SimpleFormatter, SimpleCov::Formatter::Codecov])
end

0 comments on commit 1de3b54

Please sign in to comment.