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

Uploaded coverage file contains Ruby and Javascript, but only Ruby coverage is showing. #445

Open
jcpny1 opened this issue Nov 18, 2020 · 1 comment

Comments

@jcpny1
Copy link

jcpny1 commented Nov 18, 2020

I am uploading a merged coverage file from Ruby and JavaScript. When I look at the results on the code page, only the Ruby files have coverage data. This used to work, but somewhere along the line it stopped working.

I've attached one example of Ruby and one of JavaScript from what I believe to be the uploaded coverage file. (Is there a way to verify what file is received?)

The project is at https://codeclimate.com/github/jcpny1/portfolio-analyzer/code.

image

image

@mberlanda
Copy link

This example from the documentation may be useful: https://docs.codeclimate.com/docs/travis-ci-test-coverage#example-1

  - ./cc-test-reporter format-coverage -t simplecov -o coverage/codeclimate.backend.json coverage/backend/.resultset.json # Format backend coverage
  - ./cc-test-reporter format-coverage -t lcov -o coverage/codeclimate.frontend.json coverage/frontend/lcov.info  # Format frontend coverage
  - ./cc-test-reporter sum-coverage coverage/codeclimate.*.json -p 2                  # Sum both coverage parts into coverage/codeclimate.json
  - ./cc-test-reporter upload-coverage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants