From 6d8d6f43c9040f6f18ae7feff0d44cf15ac288ec Mon Sep 17 00:00:00 2001 From: Xudong Han <42986190+han-xudong@users.noreply.github.com> Date: Thu, 23 Jul 2026 17:10:51 +0800 Subject: [PATCH] Make Codecov checks informational --- .codecov.yml | 2 ++ pixi.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.codecov.yml b/.codecov.yml index bcdd50f..6efa0cb 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -7,10 +7,12 @@ coverage: default: target: 85% threshold: 0% + informational: true patch: default: target: 90% threshold: 0% + informational: true comment: layout: "reach, diff, flags, files" diff --git a/pixi.toml b/pixi.toml index 1bd1d11..85f4138 100644 --- a/pixi.toml +++ b/pixi.toml @@ -29,7 +29,7 @@ hardware-bias-test = "NETFT_ALLOW_BIAS=1 bash test/hardware_test.sh" format = "git ls-files -z '*.cpp' '*.hpp' | xargs -0 clang-format -i" format-check = "git ls-files -z '*.cpp' '*.hpp' | xargs -0 clang-format --dry-run --Werror" tidy = { cmd = "cmake -S . -B build/tidy -G Ninja -DBUILD_TESTING=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON && clang-tidy -p build/tidy --config-file=.clang-tidy $(git ls-files 'src/*.cpp' 'app/*.cpp')", depends-on = [] } -coverage = "cmake -S . -B build/coverage -G Ninja -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DCMAKE_CXX_FLAGS='--coverage -O0 -g' -DCMAKE_EXE_LINKER_FLAGS=--coverage -DCMAKE_SHARED_LINKER_FLAGS=--coverage && cmake --build build/coverage && ctest --test-dir build/coverage --output-on-failure && gcovr --root . --filter 'src/' --filter 'app/' --exclude 'test/' --exclude-unreachable-branches --exclude-throw-branches --xml-pretty --output coverage.xml --fail-under-line 85 --fail-under-branch 85 build/coverage" +coverage = "cmake -S . -B build/coverage -G Ninja -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DCMAKE_CXX_FLAGS='--coverage -O0 -g' -DCMAKE_EXE_LINKER_FLAGS=--coverage -DCMAKE_SHARED_LINKER_FLAGS=--coverage && cmake --build build/coverage && ctest --test-dir build/coverage --output-on-failure && gcovr --root . --filter 'src/' --filter 'app/' --exclude 'test/' --exclude-unreachable-branches --exclude-throw-branches --xml-pretty --output coverage.xml build/coverage" [feature.cmake-316.dependencies] cmake = "3.16.*"