Fix coverage paths: use absolute->relative remapping for Codecov

This commit is contained in:
joereyna 2026-03-31 10:32:54 -07:00
parent a8a3eb9d5b
commit 0687ebb130
No known key found for this signature in database
GPG Key ID: 37E09E2BDB5920E5
2 changed files with 3 additions and 8 deletions

View File

@ -20,9 +20,6 @@ component_management:
- component_id: "Enterprise"
paths:
- "enterprise/**"
fixes:
- "::litellm/" # prepend litellm/ to all paths (coverage records relative to package root)
comment:
layout: "header, diff, flags, components" # show component info in the PR comment

View File

@ -212,11 +212,9 @@ filterwarnings = [
[tool.coverage.run]
source = ["litellm"]
relative_files = true
[tool.coverage.paths]
source = [
"litellm/",
"/home/runner/work/litellm/litellm/litellm/",
"**/litellm/",
litellm = [
"litellm",
"/home/runner/work/litellm/litellm/litellm",
]