Fix coverage source paths for Codecov

This commit is contained in:
joereyna
2026-03-31 16:44:13 -07:00
parent 4d7045d981
commit e7e0637f53
2 changed files with 9 additions and 1 deletions
+2 -1
View File
@@ -174,7 +174,8 @@ jobs:
--durations=20 \
--cov=litellm \
--cov-report=xml:coverage-${{ matrix.test-group.name }}.xml \
--cov-append
--cov-append \
--cov-config=pyproject.toml
- name: Save coverage report
if: always()
+7
View File
@@ -213,3 +213,10 @@ filterwarnings = [
[tool.coverage.run]
source = ["litellm"]
relative_files = true
[tool.coverage.paths]
source = [
"litellm/",
"/home/runner/work/litellm/litellm/litellm/",
"**/litellm/",
]