diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index c547edd..c3b385e 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -17,5 +17,4 @@ jobs: - uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} - file: coverage/.resultset.json fail_ci_if_error: true diff --git a/Gemfile b/Gemfile index 35b4ca5..c5fed8b 100644 --- a/Gemfile +++ b/Gemfile @@ -30,5 +30,6 @@ gem 'rspec-rails', '5.1.2', require: false gem 'rubocop', '1.53.1', require: false gem 'rubocop-rspec', '2.22.0', require: false gem 'simplecov', '0.22.0', require: false +gem 'simplecov-cobertura', '~> 2.1' gem 'slop', '4.9.2', require: false gem 'xcop', '0.7.1', require: false diff --git a/test/test__helper.rb b/test/test__helper.rb index f1610ae..f0240bb 100644 --- a/test/test__helper.rb +++ b/test/test__helper.rb @@ -23,6 +23,9 @@ require 'simplecov' SimpleCov.start +require 'simplecov-cobertura' +SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter + require 'minitest/autorun' require_relative '../lib/pdd'