-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Update coverage workflow #7430
Update coverage workflow #7430
Conversation
Generated by 🚫 Danger |
@@ -66,7 +66,7 @@ extension CoverageReportRequestData { | |||
// FirebaseDatabase-ios-FirebaseCore.framework, a regex pattern will be | |||
// used to exclude results that are not related in terms of the target names. | |||
let sdk_name = resultBundle.components(separatedBy: "-")[0] | |||
let range = NSRange(location: 0, length: sdk_name.utf16.count) | |||
let range = NSRange(location: 0, length: target.name.utf16.count) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This bug is detected here. This is caused by the range not aligned with the target.name
in line 75.
# synchronize will be triggered when a pull request has new commits. | ||
# closed will be triggered when a pull request is closed. | ||
types: [synchronize, closed] | ||
types: [open, synchronize, closed] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Synchronize will only trigger a workflow when an existing PR is updated.
Trigger the code coverage workflow when a PR is created. Fix a bug and remove redundant comments.