Fix coverage paths: use absolute->relative remapping for Codecov
This commit is contained in:
parent
a8a3eb9d5b
commit
0687ebb130
@ -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
|
||||
|
||||
|
||||
@ -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",
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user