-
Notifications
You must be signed in to change notification settings - Fork 76
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
Coverage reported but not showing #412
Comments
The same thing is happening in my open source repo https://codeclimate.com/github/Pobuca-Ltd/xsc |
Just realized branch name was not correct. It was a little confusing since other code analysis tools get it automatically. I'll leave this here for reference: https://docs.codeclimate.com/docs/test-coverage-troubleshooting-branch-names Using Azure Pipelines I had to do: - script: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter format-coverage -t lcov -o coverage/codeclimate.json coverage/lcov.info
./cc-test-reporter upload-coverage
displayName: Upload coverage to Code Climate
env:
CC_TEST_REPORTER_ID: $(frontend-codeclimate-reporter-id)
GIT_BRANCH: $(Build.SourceBranchName)
GIT_COMMIT: $(Build.SourceVersion) |
@davehenton please surface this into the docs if you can, I lost 5 hours repeating this. See #370 |
Here you can see the latest reported coverage:
But it is not showing in the dashboard:
Even though it is the correct and latest commit in the develop branch:
The text was updated successfully, but these errors were encountered: