I’m using Codacy Cloud and following the Codacy documentation to upload the code coverage.
In step 2.3, I’m trying to run below command but I get this error everytime:-
bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r report.xml
2021-05-12 16:27:18.972Z info [ReportRules] Parsing coverage data from: /Users/vinod827/go/mywork/mydevelopment/my-docker/report.xml ... - (ReportRules.scala:43) 2021-05-12 16:27:18.972Z error [CodacyCoverageReporter] File /Users/vinod827/go/mywork/mydevelopment/my-docker/report.xml does not exist. - (CodacyCoverageReporter.scala:25) --> Failed!
It is unable to find the report.xml file. I’m running a nodejs based project and using mocha and nyc libraries for the test and coverage. When I run npm test, I can see the test result but there is no such report.xml file.
This is my project on Github:-
May I know what is the issue and how can I finally start uploading the coverage report to Codacy?