-
Notifications
You must be signed in to change notification settings - Fork 52
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
Implemented warn on verification error #577
Conversation
57a1ddb
to
930225b
Compare
@@ -29,11 +29,14 @@ koverReport { | |||
|
|||
// verification rules for verification task | |||
verify { | |||
// fail on verification error | |||
warnOnFailure = false |
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.
IMO, 'warnOnFailure' doesn't indicate that failure won't happen. I think something like warningInsteadOfFailure
conveys meaning better.
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.
Yeah, agreed
|
||
run("koverVerify") { | ||
taskOutput(":koverVerify") { | ||
match { |
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.
Should we also check that build finished successfully?
...radle-plugin/src/main/kotlin/kotlinx/kover/gradle/plugin/appliers/tasks/VariantReportsSet.kt
Show resolved
Hide resolved
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.
Did you push new commits? I see no changes since my last review
Sorry, pushed |
6e49c2e
to
198a96d
Compare
Added property to suppress task execution failure if there has been a violation of the verification rules
Resolves #339