From 28239fe5b5b87f8aee46ed993a53d28be7c49d50 Mon Sep 17 00:00:00 2001 From: Token Date: Wed, 4 Sep 2024 18:41:42 +0200 Subject: [PATCH 1/2] Add cppcheck to test-workflow --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3472157..a2c6220 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,5 +28,9 @@ jobs: - name: "Install PlatformIO Core" run: "pip install --upgrade platformio" + - name: "CppCheck" + continue-on-error: true + run: "pio check" + - name: "Build PlatformIO Project" run: "pio run" From a1527c022feb7f987e566cfd95b361ae1f0bb4de Mon Sep 17 00:00:00 2001 From: Token Date: Wed, 4 Sep 2024 18:54:04 +0200 Subject: [PATCH 2/2] Do not check dependencies --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a2c6220..66bade0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,8 +29,7 @@ jobs: run: "pip install --upgrade platformio" - name: "CppCheck" - continue-on-error: true - run: "pio check" + run: 'pio check --fail-on-defect high --src-filters="-<.pio>"' - name: "Build PlatformIO Project" run: "pio run"