mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
ci: edit cppcheck settings
This commit is contained in:
6
.github/workflows/cppcheck.yml
vendored
6
.github/workflows/cppcheck.yml
vendored
@@ -4,7 +4,7 @@ on: [push]
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: cppcheck-test
|
name: cppcheck-test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
@@ -12,5 +12,7 @@ jobs:
|
|||||||
run: sudo apt-get install cppcheck
|
run: sudo apt-get install cppcheck
|
||||||
|
|
||||||
- name: Execute linter check with cppcheck
|
- name: Execute linter check with cppcheck
|
||||||
run: sudo cppcheck --enable=all --inline-suppr --template='{file}:{line},{severity},{id},{message}' --error-exitcode=1 --suppress=missingIncludeSystem --suppress=missingInclude --check-config .
|
run: |
|
||||||
|
set -x
|
||||||
|
cppcheck --enable=all --inline-suppr --template='{file}:{line},{severity},{id},{message}' --error-exitcode=1 --suppress=missingIncludeSystem --suppress=missingInclude --suppress=unmatchedSuppression:pg_stat_monitor.c --check-config .
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user