Skip to content

Commit 621123b

Browse files
committed
added .pvsconfig to exclude some rules
1 parent cc597d5 commit 621123b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.PVS-Studio/.pvsconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
//-V::2506,2514

.github/workflows/static_analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
mkdir -p build
138138
cmake examples -B build -G Ninja -DBOARD=${{ matrix.board }} -DCMAKE_BUILD_TYPE=MinSizeRel
139139
cmake --build build
140-
pvs-studio-analyzer analyze -f build/compile_commands.json -j --exclude-path hw/mcu/ --exclude-path lib/
140+
pvs-studio-analyzer analyze -R .PVS-Studio/.pvsconfig -f build/compile_commands.json --exclude-path hw/mcu/ --exclude-path lib/ -j
141141
plog-converter -t sarif -o pvs-studio-${{ matrix.board }}.sarif PVS-Studio.log
142142
143143
- name: Upload SARIF

0 commit comments

Comments
 (0)