diff options
| author | hathach <[email protected]> | 2025-10-28 00:16:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-10-28 00:16:40 +0700 |
| commit | 621123b9b3709bfd1768778f5d526498549eadae (patch) | |
| tree | 61037e6cc90857f07d9787c67899382f9b8e449f | |
| parent | cc597d5cd55ee447d4f97b7f2a19d95c333426f5 (diff) | |
added .pvsconfig to exclude some rules
| -rw-r--r-- | .PVS-Studio/.pvsconfig | 1 | ||||
| -rw-r--r-- | .github/workflows/static_analysis.yml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.PVS-Studio/.pvsconfig b/.PVS-Studio/.pvsconfig new file mode 100644 index 000000000..b722c6d10 --- /dev/null +++ b/.PVS-Studio/.pvsconfig @@ -0,0 +1 @@ +//-V::2506,2514 diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index 83eea5283..5d2a6c962 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -137,7 +137,7 @@ jobs: mkdir -p build cmake examples -B build -G Ninja -DBOARD=${{ matrix.board }} -DCMAKE_BUILD_TYPE=MinSizeRel cmake --build build - pvs-studio-analyzer analyze -f build/compile_commands.json -j --exclude-path hw/mcu/ --exclude-path lib/ + pvs-studio-analyzer analyze -R .PVS-Studio/.pvsconfig -f build/compile_commands.json --exclude-path hw/mcu/ --exclude-path lib/ -j plog-converter -t sarif -o pvs-studio-${{ matrix.board }}.sarif PVS-Studio.log - name: Upload SARIF |
