From c65f6fdb6ee810a489a8330902779cbf005b6f0a Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Sat, 17 Oct 2026 15:06:03 +0000 Subject: [PATCH 1/4] Disable several checks --- .clang-tidy | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.clang-tidy b/.clang-tidy index a6d2021..6c01157 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -17,11 +17,16 @@ Checks: > -misc-include-cleaner, -misc-non-private-member-variables-in-classes, -modernize-avoid-bind, + -modernize-use-constraints, + -modernize-use-scoped-lock, + -modernize-use-std-numbers, -modernize-use-trailing-return-type, + -portability-avoid-pragma-once, -readability-avoid-unconditional-preprocessor-if, -readability-braces-around-statements, -readability-identifier-length, -readability-magic-numbers, + -readability-math-missing-parentheses, -readability-uppercase-literal-suffix, CheckOptions: - { key: readability-identifier-naming.ClassCase, value: CamelCase } From 1ce1e8745da895d69f7a6c36435aa27316de35b7 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Sat, 17 Oct 2026 15:38:32 +0000 Subject: [PATCH 2/4] Ignore inconsistent end-line mismatch --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f54e8ec..8c983ad 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -72,7 +72,7 @@ jobs: run: cmake --build build/${{ matrix.preset }} --target tidy - name: Generate LCOV report if: ${{ matrix.preset == 'codecov' }} - run: lcov -c -d . -o coverage.info --no-external --exclude "*/build/**" --ignore-errors mismatch + run: lcov -c -d . -o coverage.info --no-external --exclude "*/build/**" --ignore-errors mismatch,inconsistent - uses: codecov/codecov-action@v7 if: ${{ matrix.preset == 'codecov' }} with: From c7d402169436c29c1207ef2c733193ad5ba28766 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Tue, 20 Oct 2026 06:52:57 +0000 Subject: [PATCH 3/4] Exclude test folder instead --- .github/workflows/ci.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 39f00e3..43f7cfb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -73,7 +73,12 @@ jobs: run: cmake --build build/${{ matrix.preset }} --target tidy - name: Generate LCOV report if: ${{ matrix.preset == 'codecov' }} - run: lcov -c -d . -o coverage.info --no-external --exclude "*/build/**" --ignore-errors mismatch,inconsistent + run: | + lcov --capture --directory build/codecov \ + --output-file coverage.info \ + --no-external \ + --exclude '*/build/*' \ + --exclude "$GITHUB_WORKSPACE/tests/*" - uses: codecov/codecov-action@v7 if: ${{ matrix.preset == 'codecov' }} with: From 4a5374e701ac708b26de5443e647f1b67a22feb7 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Tue, 20 Oct 2026 07:10:09 +0000 Subject: [PATCH 4/4] Fix folders --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 43f7cfb..4bfdce1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -74,10 +74,10 @@ jobs: - name: Generate LCOV report if: ${{ matrix.preset == 'codecov' }} run: | - lcov --capture --directory build/codecov \ + lcov --capture --directory . \ --output-file coverage.info \ --no-external \ - --exclude '*/build/*' \ + --exclude "$GITHUB_WORKSPACE/build/*" \ --exclude "$GITHUB_WORKSPACE/tests/*" - uses: codecov/codecov-action@v7 if: ${{ matrix.preset == 'codecov' }}