diff --git a/.github/workflows/coverity.yaml b/.github/workflows/coverity.yaml index d4384728aaa..faf90af7f6b 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 @@ -29,6 +31,10 @@ jobs: - name: Checkout TimescaleDB uses: actions/checkout@v3 + - name: Debug + run: | + pg_config + - name: Coverity tools run: | wget https://scan.coverity.com/download/linux64 \ @@ -37,20 +43,20 @@ jobs: tar xf coverity_tool.tgz mv cov-analysis-linux64-* coverity - - name: Build TimescaleDB - run: | - PATH="$GITHUB_WORKSPACE/coverity/bin:$PATH" - ./bootstrap -DCMAKE_BUILD_TYPE=Release - cov-build --dir cov-int make -C build +# - name: Build TimescaleDB +# run: | +# PATH="$GITHUB_WORKSPACE/coverity/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