Skip to content

Commit

Permalink
enable coverity
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoSairiala committed Nov 15, 2023
1 parent 2969a72 commit 3a8bb27
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/tii-mocap-pose-coverity.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: tii-mocap-pose-coverity

on:
repository_dispatch:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- 'README.md'
- 'CHANGELOG.rst'
pull_request:

jobs:
Expand All @@ -19,5 +22,16 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run coverity scan
run:
docker run --rm -e PROJECT_NAME=${{ github.event.repository.name }} -v "$(pwd):/main_ws/src" ghcr.io/tiiuae/fog-ros-baseimage-builder-coverity:main
run: |
docker run --rm \
-e PROJECT_NAME=${{ github.event.repository.name }} \
-v "$(pwd):/main_ws/src" \
ghcr.io/tiiuae/fog-ros-baseimage-builder-coverity:sha-4da4f0d
- name: Update summary
run: |
cat cov-analyze-result.txt >> $GITHUB_STEP_SUMMARY
- name: Upload coverity scan results
uses: actions/upload-artifact@v3
with:
name: coverity-html-report-${{ github.event.repository.name }}
path: coverity-output

0 comments on commit 3a8bb27

Please sign in to comment.