mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
Fix coverage paths: use absolute->relative remapping for Codecov
This commit is contained in:
parent
a8a3eb9d5b
commit
0687ebb130
2 changed files with 3 additions and 8 deletions
|
|
@ -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…
Add table
Reference in a new issue