-
Notifications
You must be signed in to change notification settings - Fork 42
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
[DOCS-207] Feedback on "Adding coverage to your repository" #479
[DOCS-207] Feedback on "Adding coverage to your repository" #479
Comments
Internal Jira issue: DOCS-207 |
I have figured out the right way. To run the report, the name of the file is given via -r flag. The report could be stored in the subfolder but it needs to be within the Git repository(and correctly checked out branch) bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage.xml Also, I found this command failing when its specified in the buildspec.yaml file for aws code build projects. I had to split the command to 2 as it was reporting syntax errors. |
Thanks for the extra information @tarvinder1! I will propose some improvements to the documentation soon taking into account your feedback. |
We made the improvements in codacy/codacy-coverage-reporter#300 to address your feedback, @tarvinder1. Please have a look if you have the time. Regarding the issue of the syntax errors when running the command |
Here is the error received while running the command on ubuntu containers. This extract is from aws codebuild project which uses aws codebuild image built on ubuntu containers. 1001 | [Container] 2021/02/22 17:15:09 Running command (bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage.xml) Might be some shell interpretation issue or some internal subcommand not being recognized on container. The same thing worked when I split the command like this: |
Type of feedback
Feedback
The page doesnt specify from which location Codacy Coverage Reporter is to be run. Also what is the name of the report file which the tool is expecting to work on
Affected pages
This feedback applies to the following documentation pages / URLs:
https://docs.codacy.com/coverage-reporter/adding-coverage-to-your-repository/
The text was updated successfully, but these errors were encountered: