From 8e3825d8bbd9e58bdfd51bd99aaa73e5bcfbaadb Mon Sep 17 00:00:00 2001 From: Pratik Chowdhury <28534575+pratikpc@users.noreply.github.com> Date: Sat, 12 Jul 2025 09:58:37 +0000 Subject: [PATCH] build(codecov.yaml): ignore examples and tests Closes #8 --- codecov.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 codecov.yaml diff --git a/codecov.yaml b/codecov.yaml new file mode 100644 index 0000000..1a455b2 --- /dev/null +++ b/codecov.yaml @@ -0,0 +1,15 @@ +ignore: + # This section specifies files and directories that Codecov should ignore + # when calculating code coverage. Ignoring non-production code (like tests + # or examples) ensures more accurate and relevant coverage metrics for + # your core application. + + # Ignore all files and subdirectories within the 'examples' directory. + # This typically includes sample code or usage examples that aren't part + # of the main application's testable codebase. + - "examples/*" + + # Ignore all files and subdirectories within the 'tests' directory. + # Test files themselves don't usually require coverage checks as they are + # responsible for testing other code, not being tested themselves. + - "tests/*" \ No newline at end of file