Skip to content

🎧 Your Personal Streaming Service

ci: exclude test helpers and generated code from the coverage report

Deluanb77fb45088e9
diff --git a/.octocov.yml b/.octocov.yml
index 52d4ff9bf..467998b51 100644
--- a/.octocov.yml
+++ b/.octocov.yml
@@ -7,6 +7,10 @@ coverage:
# switches to line counting when it merges several itself.
paths:
- coverage.out
+ # Not code under test: tests/ holds the mocks and helpers, *_gen.go is generated.
+ exclude:
+ - 'tests/**'
+ - '**/*_gen.go'
codeToTestRatio:
# Needs the pull request's own source, which the comment workflow must not
# check out: it holds a write token.