ci: Add codecov.yml to configure Codecov.io

This change splits up the source code and test code into different blobs
so that the code coverage only considers the source code portion and not
the test suites.
pull/87/head
nirenjan 2026-11-04 22:27:30 -08:00
parent 372200a6ce
commit d9caba9ff3
1 changed files with 20 additions and 0 deletions

20
codecov.yml 100644
View File

@ -0,0 +1,20 @@
coverage:
status:
project:
production:
target: auto
flags:
- src_code
flags:
src_code:
paths:
- '!**/test_*.c'
- '!**/test_*.py'
- '**/*.c'
- '**/*.h'
- '**/*.py'
test_code:
paths:
- '**/test_*.c'
- '**/test_*.py'