From d9caba9ff3473e46daa954fe8954c19ddb8f1306 Mon Sep 17 00:00:00 2001 From: nirenjan Date: Wed, 4 Nov 2026 22:27:30 -0800 Subject: [PATCH] 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. --- codecov.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..15150ff --- /dev/null +++ b/codecov.yml @@ -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'