From bec5acf485a3ab2a4bc85715a831a25dcf4b4b5b Mon Sep 17 00:00:00 2001 From: dprotaso Date: Thu, 22 Feb 2024 19:55:41 -0500 Subject: [PATCH] Exclude test folder from code coverage calculation Looking at the code coverage report it's low (20%) because of the lack of coverage in the `test` folder. GIven the `test` subfolder contains our conformance tests (but as a library) including that in the code coverage doesn't really make sense. This PR updates the codecov file to exclude that folder. --- .codecov.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.codecov.yaml b/.codecov.yaml index 7e3a6d0e0..0e56a376c 100644 --- a/.codecov.yaml +++ b/.codecov.yaml @@ -15,6 +15,7 @@ ignore: - "**/zz_generated*.go" # Ignore generated files. - "**/*.pb.go" # Ignore proto-generated files. - "hack" + - "test" - "pkg/client" - "third_party" - "vendor"