From 0137f1b88624fcfeb60ee041070edb82fc5fecf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= Date: Thu, 2 Feb 2023 14:04:05 +0100 Subject: [PATCH] CI: add Coverity workflow --- .github/workflows/coverity.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/coverity.yml diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml new file mode 100644 index 00000000..1879cb8c --- /dev/null +++ b/.github/workflows/coverity.yml @@ -0,0 +1,25 @@ +--- +name: Coverity + +on: + push: + branches: [main] + +jobs: + coverity: + if: github.repository == 'csutils/csmock' + name: Coverity Scan + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Coverity scan + uses: vapier/coverity-scan-action@v1 + with: + build_language: other # other is for Python, etc... + email: ${{ secrets.COVERITY_SCAN_EMAIL }} + token: ${{ secrets.COVERITY_SCAN_TOKEN }} + project: csutils/csmock + command: --no-command --fs-capture-search ./py ./scripts