ci: run coverity check every night
Add a github workflow that will trigger the run of coverity every night at 05:00 UTC. Uses the new Makefile coverity targets.
This commit is contained in:
parent
b5cc1a6f1a
commit
3d13c825c0
1 changed files with 39 additions and 0 deletions
39
.github/workflows/coverity.yml
vendored
Normal file
39
.github/workflows/coverity.yml
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
name: Coverity
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 5 * * *' # Daily at 05:00 UTC
|
||||
|
||||
jobs:
|
||||
coverity:
|
||||
name: "Test Suite"
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: osbuild
|
||||
steps:
|
||||
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
path: osbuild
|
||||
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
sudo apt-get install python3-setuptools
|
||||
|
||||
- name: Download Coverity Tool
|
||||
run: |
|
||||
make coverity-download
|
||||
env:
|
||||
COVERITY_TOKEN: ${{ secrets.COVERITY_TOKEN }}
|
||||
|
||||
- name: Coverity check
|
||||
run: |
|
||||
make coverity-check
|
||||
|
||||
- name: Upload analysis results
|
||||
run: |
|
||||
make coverity-submit
|
||||
env:
|
||||
COVERITY_TOKEN: ${{ secrets.COVERITY_TOKEN }}
|
||||
COVERITY_EMAIL: ${{ secrets.COVERITY_EMAIL }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue