From 7bda7f90b685f7e02e6dd3a6e59dc38a52883bcf Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Mon, 26 May 2025 15:38:20 -0400 Subject: [PATCH] Add an initial codecov.yml file to tell it to ignore test and example code Also tell it to split the plugin directory into a separate component --- codecov.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..f11ac473 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,17 @@ +# Components allow you to isolate and categorize coverage data from your project with virtual filters +component_management: + individual_components: + - component_id: cmd2 # this is an identifier that should not be changed + name: cmd2 # this is a display name, and can be changed freely + paths: + - cmd2/** + - component_id: plugins + name: plugins + paths: + - plugins/** + +# Ignore certain paths, all files under these paths will be skipped during processing +ignore: + - "examples" # ignore example code folder + - "tests" # ignore unit test code folder + - "tests_isolated" # ignore integration test code folder