Skip to content

Commit

Permalink
Add workaround for a possible bug of cc-test-reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
manicmaniac committed Nov 4, 2022
1 parent 91daa53 commit 6daf907
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -27,6 +27,8 @@ jobs:
- run: bundle exec rake
- name: Format coverage
run: |
# Workaround for https://github.com/codeclimate/test-reporter/issues/495
jq 'map_values(. | map_values(if type=="object" then map_values(.lines) else . end))' coverage/.resultset.json
./cc-test-reporter format-coverage --input-type simplecov --output 'codeclimate-${{ matrix.ruby-version }}.json' coverage/.resultset.json
- uses: actions/upload-artifact@v3
with:

0 comments on commit 6daf907

Please sign in to comment.