Skip to content

common: test coverity scan #16

common: test coverity scan

common: test coverity scan #16

Workflow file for this run

# Scan the code for various flaws. See each of the scans for details.
name: Scans
on:
workflow_dispatch:
pull_request:
env:
COVERITY_SCAN_NOTIFICATION_EMAIL: ${{ secrets.COVERITY_SCAN_NOTIFICATION_EMAIL }}
COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
jobs:
call-bandit:
uses: ./.github/workflows/scan_bandit.yml
name: Bandit
call-coverity:
runs-on: ubuntu-latest
env:
GITHUB_REPO: pmem/pmdk
DOCKER_REPO: ghcr.io/pmem/pmdk
HOST_WORKDIR: /home/runner/work/pmdk/pmdk
WORKDIR: utils/docker
PMDK_CC: gcc
PMDK_CXX: g++
VALGRIND: 1
COVERITY: 1
strategy:
matrix:
CONFIG: ["OS=ubuntu OS_VER=22.04"]
steps:
- name: Clone the git repo
uses: actions/checkout@v3
- name: Pull or rebuild the image
run: cd $WORKDIR && ${{ matrix.CONFIG }} ./pull-or-rebuild-image.sh
- name: Run the build
run: cd $WORKDIR && ${{ matrix.CONFIG }} ./build-CI.sh
name: Coverity