Skip to content

Commit

Permalink
Swap to coverage.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Minituff committed Oct 26, 2023
1 parent 5109b54 commit 0f78077
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,9 @@ jobs:
uses: codecov/codecov-action@v4-beta
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CC_TEST_REPORTER_ID: minituff
with:
fail_ci_if_error: true
file: coverage/.resultset.json
file: coverage/coverage.json

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
2 changes: 2 additions & 0 deletions .simplecov
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ require "simplecov_json_formatter"

# frozen_string_literal: true

# Converts the `.resultset.json` to `coverage.json`
SimpleCov.formatter = SimpleCov::Formatter::JSONFormatter

# .simplecov
SimpleCov.start 'rails' do
# any custom configs like groups and filters can be here at a central place
Expand Down

0 comments on commit 0f78077

Please sign in to comment.