Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for cc-test-reporter with SimpleCov 0.18 #867

Commits on Feb 2, 2020

  1. Workaround for cc-test-reporter with SimpleCov 0.18

    This PR fixes the following build error when using cc-test-reporter with
    SimpleCov 0.18.
    
    ```consle
    % #!/bin/bash -eo pipefail
      ./cc-test-reporter before-build
      rake coverage
      ./cc-test-reporter after-build --exit-code $?
    
    (snip)
    
    Coverage report generated for RSpec to
    /home/circleci/project/coverage. 5051 / 5064 LOC (99.74%) covered.
    Error: json: cannot unmarshal object into Go struct field input.coverage
    of type []formatters.NullInt
    ```
    
    https://circleci.com/gh/rubocop-hq/rubocop-rspec/10604
    
    This patch is a workaround until the following issue will be resolved.
    codeclimate/test-reporter#418
    koic committed Feb 2, 2020
    Configuration menu
    Copy the full SHA
    5fcb4c9 View commit details
    Browse the repository at this point in the history