diff --git a/.github/workflows/coverity.yaml b/.github/workflows/coverity.yaml index d4384728aaa..c21308d8d2d 100644 --- a/.github/workflows/coverity.yaml +++ b/.github/workflows/coverity.yaml @@ -3,6 +3,7 @@ name: Coverity schedule: # run at 22:00 on every saturday - cron: '0 22 * * SAT' + pull_request: push: branches: - coverity_scan @@ -15,7 +16,8 @@ jobs: fail-fast: false matrix: # run only on the 3 latest PG versions as we have rate limit on coverity - pg: [13, 14, 15] +# pg: [13, 14, 15] + pg: [15] os: [ubuntu-20.04] steps: - name: Install Dependencies @@ -39,18 +41,18 @@ jobs: - name: Build TimescaleDB run: | - PATH="$GITHUB_WORKSPACE/coverity/bin:$PATH" + PATH="$GITHUB_WORKSPACE/coverity/bin:/usr/lib/postgresql/15/bin:$PATH" ./bootstrap -DCMAKE_BUILD_TYPE=Release cov-build --dir cov-int make -C build - - name: Upload report - env: - FORM_EMAIL: --form email=ci@timescale.com - FORM_FILE: --form file=@timescaledb.tgz - FORM_DESC: --form description="CI" - FORM_TOKEN: --form token="${{ secrets.COVERITY_TOKEN }}" - COVERITY_URL: https://scan.coverity.com/builds?project=timescale%2Ftimescaledb - run: | - tar czf timescaledb.tgz cov-int - curl $FORM_TOKEN $FORM_EMAIL $FORM_DESC $FORM_FILE \ - --form version="$(grep '^version' version.config | cut -b11-)-${{ matrix.pg }}" $COVERITY_URL +# - name: Upload report +# env: +# FORM_EMAIL: --form email=ci@timescale.com +# FORM_FILE: --form file=@timescaledb.tgz +# FORM_DESC: --form description="CI" +# FORM_TOKEN: --form token="${{ secrets.COVERITY_TOKEN }}" +# COVERITY_URL: https://scan.coverity.com/builds?project=timescale%2Ftimescaledb +# run: | +# tar czf timescaledb.tgz cov-int +# curl $FORM_TOKEN $FORM_EMAIL $FORM_DESC $FORM_FILE \ +# --form version="$(grep '^version' version.config | cut -b11-)-${{ matrix.pg }}" $COVERITY_URL