Skip to content

Commit

Permalink
Fix build failure in coverity 15 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
svenklemm committed Sep 17, 2023
1 parent 646cecd commit 689f696
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/coverity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Coverity
schedule:
# run at 22:00 on every saturday
- cron: '0 22 * * SAT'
pull_request:
push:
branches:
- coverity_scan
Expand All @@ -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
Expand All @@ -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 protected]
FORM_FILE: --form [email protected]
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 protected]
# FORM_FILE: --form [email protected]
# 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

0 comments on commit 689f696

Please sign in to comment.