Skip to content

Commit

Permalink
Remove codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoocasali committed May 7, 2024
1 parent 8e8b5f8 commit 7c2465e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

linter_check:
name: linter-check
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ group :test do
gem 'jdbc-sqlite3', platform: :jruby
gem 'rspec', '~> 3.0'
gem 'simplecov', require: 'false'
gem 'codecov', require: 'false'
gem 'simplecov-cobertura', require: 'false'
gem 'threads'

gem 'byebug'
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.7"

volumes:
bundle:
play_bundle:
Expand Down
7 changes: 5 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@

unless ENV.fetch('DISABLE_COVERAGE', false)
require 'simplecov'
require 'codecov'

SimpleCov.start do
add_filter %r{^/spec/}
minimum_coverage 86.70

formatter SimpleCov::Formatter::Codecov if ENV['CI']
if ENV['CI']
require 'simplecov-cobertura'

formatter SimpleCov::Formatter::CoberturaFormatter
end
end
end

Expand Down

0 comments on commit 7c2465e

Please sign in to comment.