-
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
CI: add coverity scan scheduled #5940
Conversation
nice! let's try this.. |
we need to check for the next scheduled run. |
I do not understand why we need this at all. Coverity is triggered automatically on each commit (except that it has been broken for ages now - see https://trac.cppcheck.net/ticket/12009) - or did that behavior change? And if that changed - scheduling this doesn't seem to make much sense at all as it would mostly be a bunch of commits in-between scans making it hard to pin down the actual commit which introduced an issue. Or is Coverity able to handle that`. In a perfect world a PR would give feedback from this so we would not introduce any new warnings at all...but let's take this one step at a time.
You could just make it triggerable by allowing |
it was not triggered on push. no idea on that
coverity has it's own daily limits, it may be easy to overcome them with multiple push during a day Build Limits The number of weekly builds per project are as follows:
that makes sense indeed |
It was triggered. It just failed. Unfortunately I can no longer check this since that added workflow cleared that error. As I only have limited permissions the actual error was not visible to me but might have been to @danmar. That's also why the ticket is lacking details beside the last time we had a successful run. It now got updated results but as it was working for over 9(!) years without this workflow beforehand I have the feeling something else is wrong and this is basically just a brute-force workaround. I would like to know why it stopped working and not simply ignore that just because we get updated results now. Bugs disappearing without actually fixing something always make me anxious.
Thanks for the explanation. As it was "just working" before we never had to concern about that. Maybe it was just scheduling it by itself based on the limits. |
@firewave , sorry, I'm not a part of https://trac.cppcheck.net/ticket/12009 |
@firewave sorry for late reply.. but Coverity was not triggered on every commit before. It was executed daily on the cppcheck1.osuosl.org server. |
Now it all makes much more sense. |
this requires adding a variable
COVERITY_SCAN_TOKEN
to settingsalso, I'd suggest issue new token since current one (or is it fake ?) exposed in
cppcheck/tools/run-coverity.sh
Line 15 in eed9c4d