From 0687ebb130c2e750edf82ffbe7fc71389b8d88da Mon Sep 17 00:00:00 2001 From: joereyna Date: Tue, 31 Mar 2026 10:32:54 -0700 Subject: [PATCH] Fix coverage paths: use absolute->relative remapping for Codecov --- codecov.yaml | 3 --- pyproject.toml | 8 +++----- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/codecov.yaml b/codecov.yaml index 2594680232..09fccc6b99 100644 --- a/codecov.yaml +++ b/codecov.yaml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 401e2d4baa..a3ac12d7aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", ]