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

Feature Request: Integrate xcresultparser into the uploader #1078

Open
drazisil-codecov opened this issue Jun 7, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@drazisil-codecov
Copy link
Contributor

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.

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

No branches or pull requests

1 participant