diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6526c83d..2c90e675 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/Gemfile b/Gemfile index e674d48f..8f4e5c69 100644 --- a/Gemfile +++ b/Gemfile @@ -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' diff --git a/docker-compose.yml b/docker-compose.yml index db71719f..78c36f2a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: "3.7" - volumes: bundle: play_bundle: diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 661ca86c..4d1ce533 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -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