Before submitting a topic, please confirm the following
I have searched for similar issues before creating this topic.
I have verified that my repository is using the Codecov GitHub app, if using GitHub
I have validated my
codecov.yaml configuration file.
I have filled out the below sections to the best of my ability.
Hello, I’m trying to upload my Xcode project coverage from Xcode Cloud, I spent a lot of time trying to make it work but I reached a dead end. I managed to get my coverage report working only once when I ran my CI script locally on my mac.
I found this GitHub post stating that the code source should be available in the environment in which the codecov uploader is run.
I reached out to apple because apparently, this is not possible at the moment. The script run on the CI cannot access the repository source. More details on my post on the apple forum here.
They now ask me why these should be accessible, in order to make my script work. Unfortunately, I didn’t find this information in the documentation. Anyone could help me explain why in order to file an Enhancement Request to get codecov working on XcodeCloud?
Please provide a link to the CI/CD run.
Please provide the full output of running the uploader on your CI/CD. This will typically have the Codecov logo as ASCII.
Please provide what you expect to have happened (e.g. a file that has missing coverage on a particular line).
Please provide what actually happened.
Any additional information, configuration, or data that might be necessary to reproduce the issue.