-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Adding support for posting test coverage #4
Comments
@theScud Thanks for your investigation! The missing features are
I'm busy with my company's work now so if you can implement these for me it would be very appreciated! Basically all options should be able to found in XCResultParsingConfiguration |
cool i'll push something in a week or so |
are you sure we want to put everything inside XCResultParsingConfiguration , will get kinda bloated no ? |
@theScud As long as all properties can be set in the public initializer, and there is a default value for each property in that public initializer, it should be fine. |
cool |
1. adds 'failIfCoverageUnavailable' to allow user to fail the build if coverage is'nt avaiable 2. adds 'excludeCoverageTarget' to allow the user to filter out specific targets like pods or tests 3. adds 'showCoverageForChangedFiles' to allow user to show coverage for code changes and 'excludeCoverageForFiles' to exclude specific files 4. add code to support the above config vairables we first filter out the exculded targets, then exludedFiles. After which we proceed to post the Overall coverage following the coverage for diff files grouped by target. yumemi-inc#4
@el-hoshino i have raised a draft PR i'll add a few more details in the description tomorrow or day after. but i am a little confused about the commit log. i pull your merged main into mine and cut a new feature branch. Not sure why i had merge conflicts. |
@theScud If you mean "Merging is blocked" text, don't worry it's not conflict, I just changed the merging settings that it now requires at least 1 approval in code review before merging. |
@el-hoshino not exactly when i raised the PR , initially there were merge conflicts , which was strange. My default setting for Git pull is rebase. so could be just that |
Hey @el-hoshino are you already woking on this or can i take a crack at this ?
Just to make sure we are on the same page , these are the Feature Requirements based on what i have seen in https://github.com/f-meloni/danger-swift-coverage
The text was updated successfully, but these errors were encountered: