-
Notifications
You must be signed in to change notification settings - Fork 7
Description
I'm using this with some swift packages I've been working on and they are not reporting coverage results that match what I see in my Xcode project when running tests. It looks like it's including coverage for dependency targets, which is reducing my total coverage percentage significantly, and Xcode is not doing this.
When I use swift test --enable-code-coverage via cli I also see this reduced total coverage amount, but when I use xcodebuild the xcresult file coverage totals match what I see in Xcode.
I tried modifying this action to fallback to the xcodebuild commands that are already being used in the action for project/workspace files, but somehow it's also not matching Xcode test coverage. I think there's something with how the results are being parsed out of the xcresult file by the dd sdk testing framework that I can't see in the action logs which is causing this irregularity.
Any help or guidance would be appreciated.