-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Unable to find any .xccoverage file #30
Comments
As of Xcode 11 you need to preprocess the xcresult first: https://github.com/ChargePoint/xcparse#code-coverage |
So finally working solution for this would be something like this (I'm using Github Actions with Danger and
bundle install
pod install --repo-update
set -o pipefail && bundle exec fastlane tests
echo "Running Danger..."
xcparse codecov ./fastlane/test_output/app.xcresult ./fastlane/test_coverage
bundle exec fastlane danger_tests
rm -fr ./fastlane/test_coverage
rm -rf ./fastlane/build_folder
As you can see, the problem here is that I have to run Would be nice to update this project. |
Hi All,
I am trying to run Danger xcov on my Gitlab CI using the following:
I am getting the following error:
However when I run the following command on CI:
It successfully generates the report.
I am currently using XCode 11 and it generates .xcresult. Code coverage is turned on and I have tried setting the full path to the report as well but the plugin is unable to find it.
The text was updated successfully, but these errors were encountered: