Feature Request: Integrate xcresultparser into the uploader #1078
Description
Is your feature request related to a problem? Please describe.
The Uploader's current process of using gcov
to convert XCode coverage files to a format that Codecov can process is too slow. A customer reports that using the xcresultparser tool greatly reduces the conversion time
Describe the solution you'd like
Customers are requesting that we integrate the xcresultparser into the Codecov Uploader for a single-tool upload solution
Describe alternatives you've considered
- Converting the XCresults files prior to upload, using other tools (very slow)
- Uploading the XCresults files directly to Codecov without conversion (not suppported)
Additional context
One of our other customers shared a third-party tool that they say makes the process faster
https://github.com/a7ex/xcresultparser
The command they ran was
xcresultparser \ --output-format cobertura \ "artifacts/ResultBundle.xcresult" >"artifacts/coverage.xml"
They said this was faster process then the Codecov uploader conversion. You would then tell the uploader to send us the Covertura XML, instead of the xcresult. You should be able to pass the XML file by path to the uploader, and disable searching for other files if needed.