Skip to content

Commit

Permalink
Exclude test folder from code coverage calculation
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dprotaso committed Feb 23, 2024
1 parent 1fbbbf9 commit bec5acf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ignore:
- "**/zz_generated*.go" # Ignore generated files.
- "**/*.pb.go" # Ignore proto-generated files.
- "hack"
- "test"
- "pkg/client"
- "third_party"
- "vendor"

0 comments on commit bec5acf

Please sign in to comment.