diff options
author | James Mills <prologic@shortcircuit.net.au> | 2020-03-10 08:26:50 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-10 08:26:50 +1000 |
commit | e1528f6a9c5afd56b19a456469ed52deea7ef9bb (patch) | |
tree | 478d58feb0f951cfe89518a186c6c7bfb046ab63 /.github | |
parent | ff4eb9c8cbb0a614f6573209cd5b097662d0c490 (diff) |
Migrate coverity-scan to Github Actions (#8321)
* Migrate coverity-scan to Github Actions
* Move to job conditional and use local install-required-pacakges.sh
* Add COVERITY_* secrets and add them to the Github secrets store with values from Travis copied over
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/coverity.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml new file mode 100644 index 0000000000..1f84640cdc --- /dev/null +++ b/.github/workflows/coverity.yml @@ -0,0 +1,24 @@ +--- +# Runs coverity-scan.sh every 24h on `master` +name: Coverity Scan +on: + schedule: + - cron: '0 1 * * *' +jobs: + coverity: + if: github.repository == 'netdata/netdata' + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Prepare environment + run: | + ./packaging/installer/install-required-packages.sh --dont-wait --non-interactive netdata + sudo apt-get install -y libjson-c-dev libipmimonitoring-dev libcups2-dev libsnappy-dev \ + libprotobuf-dev libprotoc-dev libssl-dev protobuf-compiler + - name: Run coverity-scan + env: + COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} + COVERITY_SCAN_SUBMIT_MAIL: ${{ secrets.COVERITY_SCAN_SUBMIT_MAIL }} + run: | + ./coverity-scan.sh --with-install |