Skip to content

Commit f31dd5e

Browse files
undo cppcheck remove
Signed-off-by: Ashwin Vaidya <[email protected]>
1 parent 5b2f686 commit f31dd5e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/test_precommit.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,17 @@ jobs:
5555
run: |
5656
source venv/bin/activate
5757
pytest tests/python/precommit
58+
CPP-Code-Quality:
59+
name: CPP-Code-Quality
60+
runs-on: ubuntu-latest
61+
steps:
62+
- uses: actions/checkout@v3
63+
- name: cppcheck
64+
uses: chmorgan/cppcheck-action@main
65+
with:
66+
github_token: ${{ secrets.GITHUB_TOKEN}}
67+
# missingInclude: cppcheck can't find stl, openvino, opencv
68+
other_options: --suppress=missingInclude -Imodel_api/cpp/models/include -Imodel_api/cpp/utils/include -Imodel_api/cpp/pipelines/include --check-config
5869
CPP-Precommit:
5970
runs-on: ubuntu-latest
6071
steps:

0 commit comments

Comments
 (0)