Skip to content

Commit

Permalink
[#238] Formatter is required for codecov report
Browse files Browse the repository at this point in the history
  • Loading branch information
pnatashap committed Jan 30, 2024
1 parent f536c6c commit 5428b3a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ jobs:
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage/.resultset.json
fail_ci_if_error: true
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions test/test__helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
require 'simplecov'
SimpleCov.start

require 'simplecov-cobertura'
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter

require 'minitest/autorun'
require_relative '../lib/pdd'

Expand Down

0 comments on commit 5428b3a

Please sign in to comment.