Skip to content

Commit 1cbab9b

Browse files
committed
CI: Enable PAX module in Coverity scan workflow
The PAX storage module was missing from the daily Coverity static analysis scan, which left potential code issues undetected. This change ensures PAX module is properly initialized and included in the scan process, providing better code quality coverage for the entire project. Changes made: - Added `git submodule update --init` command before configure - Added `--enable-pax` flag to configure options Before this PR, the Coverity scan had errors because of the PAX feature is introduced. See: #1049
1 parent 3d8fae4 commit 1cbab9b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/coverity.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,14 @@ jobs:
9090
su - gpadmin -c "cd $WORKSPACE"
9191
export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:LD_LIBRARY_PATH
9292
export PATH=$WORKSPACE/coverity_tool/bin:$PATH
93+
git submodule update --init
9394
./configure --prefix=/usr/local/cloudberry-db \
9495
--disable-external-fts \
9596
--enable-gpcloud \
9697
--enable-ic-proxy \
9798
--enable-orafce \
9899
--enable-orca \
100+
--enable-pax \
99101
--enable-pxf \
100102
--enable-tap-tests \
101103
--with-gssapi \
@@ -122,4 +124,4 @@ jobs:
122124
--form file=@cov.tar.gz \
123125
--form version="Commit $GITHUB_SHA" \
124126
--form description="Build submitted via CI" \
125-
https://scan.coverity.com/builds?project=apache%2Fcloudberry
127+
https://scan.coverity.com/builds?project=apache%2Fcloudberry

0 commit comments

Comments
 (0)