mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
Try fix
This commit is contained in:
25
.github/workflows/check.yml
vendored
25
.github/workflows/check.yml
vendored
@@ -25,22 +25,23 @@ jobs:
|
|||||||
ref: '2.13.4'
|
ref: '2.13.4'
|
||||||
path: src/cppcheck
|
path: src/cppcheck
|
||||||
|
|
||||||
- name: Build and install cppcheck
|
# - name: Build and install cppcheck
|
||||||
working-directory: src/cppcheck
|
# working-directory: src/cppcheck
|
||||||
run: |
|
# run: |
|
||||||
mkdir build
|
# mkdir build
|
||||||
cd build
|
# cd build
|
||||||
cmake ..
|
# cmake ..
|
||||||
cmake --build .
|
# cmake --build .
|
||||||
sudo cmake --install .
|
# sudo cmake --install .
|
||||||
|
|
||||||
- name: Execute linter check with cppcheck
|
# - name: Execute linter check with cppcheck
|
||||||
run: |
|
# run: |
|
||||||
set -x
|
# 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 .
|
# 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 .
|
||||||
|
|
||||||
- name: Check license headers
|
- name: Check license headers
|
||||||
uses: apache/skywalking-eyes/header@v0.6.0
|
uses: apache/skywalking-eyes/header@v0.6.0
|
||||||
|
working-directory: src/pg_stat_monitor
|
||||||
|
|
||||||
- name: Run debug commands on failure
|
- name: Run debug commands on failure
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
|
|||||||
Reference in New Issue
Block a user