Skip to content

ci(coverity): fix Coverity scans #5266

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alex-ter
Copy link
Contributor

@alex-ter alex-ter commented Aug 9, 2025

Starting in version 2024.12, the "cov-build" command is only supposed to be used for "build capture", while the "filesystem capture" used for non-compiled languages is only available via Coverity CLI (the "coverity" command).

The GH Action we use does not yet support that, so introduce a workaround by tricking the Action to run the correct command via command injection.

Tested in my fork: example run.

I've also explicitly limited the languages to Python and JS, as it was needlessly picking many documentation and other aux files. Let me know if you think this should be tweaked. That also removed the need for one of the exclude regexes.

Fixes #5254.

Starting in version 2024.12, the "cov-build" command is only
supposed to be used for "build capture", while the "filesystem capture"
used for non-compiled languages is only available via Coverity CLI
(the "coverity" command).

The GH Action we use does not yet support that, so introduce a
workaround by tricking the Action to run the correct command via command
injection.

Fixes intel#5254.

Signed-off-by: Alex T. <[email protected]>
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.

ci: coverity scan is failing
1 participant