Open
Description
Hi All,
I am trying to run Danger xcov on my Gitlab CI using the following:
xcov.report(
scheme: 'Scheme_Name'
)
I am getting the following error:
[00:24:44]: Unable to find any .xccoverage file.
[00:24:44]: Make sure you have enabled 'Gather code coverage' setting on your scheme settings.
[00:24:44]: Alternatively you can provide the full path to your .xccoverage file.
[!] The exception involves the following plugins:
- danger-xcov
bundler: failed to load command: danger (/Users/ios_testing/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/bin/danger)
Danger::DSLError:
[!] InvalidDangerfile
file: Error processing coverage file - see the log above. Updating the Danger gem might fix the issue. Your Danger version: 6.0.7, latest Danger version: 6.1.0
However when I run the following command on CI:
xcrun xcov --scheme Scheme_Name --verbose
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.
Metadata
Metadata
Assignees
Labels
No labels