Skip to content
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

Merged
merged 4 commits into from
Mar 28, 2024
Merged

Implemented warn on verification error #577

merged 4 commits into from
Mar 28, 2024

Conversation

shanshin
Copy link
Collaborator

Added property to suppress task execution failure if there has been a violation of the verification rules

Resolves #339

@shanshin shanshin requested a review from sandwwraith March 21, 2024 18:06
@shanshin shanshin force-pushed the warn-verify branch 2 times, most recently from 57a1ddb to 930225b Compare March 21, 2024 19:42
@@ -29,11 +29,14 @@ koverReport {

// verification rules for verification task
verify {
// fail on verification error
warnOnFailure = false
Copy link
Member

@sandwwraith sandwwraith Mar 26, 2024

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.

Copy link
Collaborator Author

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 {
Copy link
Member

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?

@shanshin shanshin requested a review from sandwwraith March 26, 2024 14:29
Copy link
Member

@sandwwraith sandwwraith left a 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

@shanshin
Copy link
Collaborator Author

Sorry, pushed

@shanshin shanshin force-pushed the features-instead-intellij branch from 6e49c2e to 198a96d Compare March 27, 2024 18:28
Base automatically changed from features-instead-intellij to main March 27, 2024 18:33
Added property to suppress task execution failure if there has been a violation of the verification rules

Resolves #339
@shanshin shanshin merged commit 1823f83 into main Mar 28, 2024
1 check passed
@shanshin shanshin deleted the warn-verify branch March 28, 2024 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warn on failed verification
2 participants