Merge pull request #55 from tiiuae/feat-v3.2.0 #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tii-mocap-pose-coverity | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- 'README.md' | |
- 'CHANGELOG.rst' | |
pull_request: | |
jobs: | |
coverity: | |
runs-on: mocap-pose-self-hosted-coverity | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
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: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 |