diff options
author | John Levon <john.levon@nutanix.com> | 2021-10-20 16:36:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-20 16:36:53 +0100 |
commit | 3111d8ec3ed5557b64434778fb2596908235bfa2 (patch) | |
tree | 553f4b23d994f19885505929b006428692a18c6b /.github/workflows | |
parent | 5590ea8eb54e9f653b55b70f95e0793898e1955c (diff) | |
download | libvfio-user-3111d8ec3ed5557b64434778fb2596908235bfa2.zip libvfio-user-3111d8ec3ed5557b64434778fb2596908235bfa2.tar.gz libvfio-user-3111d8ec3ed5557b64434778fb2596908235bfa2.tar.bz2 |
add coverity scan support in github action (#612)
On a push to master branch, trigger a run and upload.
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/coverity.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml new file mode 100644 index 0000000..ab33388 --- /dev/null +++ b/.github/workflows/coverity.yml @@ -0,0 +1,21 @@ +name: coverity +on: + push: + branches: + - master + +jobs: + coverity: + timeout-minutes: 5 + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - name: run-scan + run: | + sudo apt-get update + sudo apt-get -y install libjson-c-dev libcmocka-dev clang valgrind \ + python3-pytest debianutils + make coverity VERBOSE=1 + env: + COVERITY_TOKEN: ${{ secrets.COVERITY_TOKEN }} + COVERITY_EMAIL: ${{ secrets.COVERITY_EMAIL }} |