Add code coverage and testing CI stuff

This commit is contained in:
pmb
2025-06-25 10:53:48 -07:00
parent 2e090e02fb
commit 42c3bba68e
5 changed files with 355 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
coverage:
status:
project:
default:
target: 80%
threshold: 5%
patch:
default:
target: 80%
threshold: 5%
comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: false
ignore:
- "test_*.cpp"
- "builddir/**/*"
- "**/*.hpp" # Header files typically don't need coverage
flags:
unittests:
paths:
- handler.cpp
- main.cpp