Skip to content

Commit 2c08f25

Browse files
committed
ci(coverity): fix Coverity scans
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 #5254. Signed-off-by: Alex T. <[email protected]>
1 parent 9535cb9 commit 2c08f25

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/coverity.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,4 @@ jobs:
2323
with:
2424
email: ${{ secrets.COVERITY_SCAN_EMAIL }}
2525
token: ${{ secrets.COVERITY_SCAN_TOKEN }}
26-
build_language: 'other'
27-
command: '--no-command --fs-capture-search ./ --fs-capture-search-exclude-regex /cov-analysis/.* --fs-capture-search-exclude-regex /cve_bin_tool/schemas.*'
26+
command: 'true; rm -rf cov-int/; coverity capture --project-dir ./ --dir cov-int --language python --language javascript --file-exclude-regex cov-analysis/.*'

0 commit comments

Comments
 (0)