-
Notifications
You must be signed in to change notification settings - Fork 68
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
Coverity workflow fail if issue exist #292
Conversation
This workflow now works as follows:
The reason why we cannot easily detect if the current PR introduces new Coverity issues when it modified an existing file that has Coverity issues, is because we only knows the Coverity issue by examining the output of |
Successful Coverity workflow run when there is no Coverity Issues |
This workflow is failing because it found a Coverity issue due to this change |
The key reason why there are 2 builds in the coverity-pull-request workflow is because it "ignores" the existing coverity case if you don't edit the same file where there is an existing coverity case. It will be ignored because that case will show up in both cov-errors.txt and cov-errors-base.txt, and it will be ignored when we diff the two files. The only case we need the coverity-override label is when we actually edit the file that has an existing coverity case in this PR. When that happens, the diffing is unable to ignore that error because line numbers have changed in the cov-errors.txt. |
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.
Hi Tyler, it looks good to me! Please squash the commit and I will merge.
fac0806
to
4c34aa7
Compare
Hi Tyler, can you please correct the commit message? Thanks |
Updated |
Thanks Tyler! |
Automating checking that a PR should not have a coverity issue