Fix coverage source paths for Codecov

This commit is contained in:
joereyna 2026-03-30 22:38:54 -07:00
parent 4d7045d981
commit e7e0637f53
No known key found for this signature in database
GPG key ID: 37E09E2BDB5920E5
2 changed files with 9 additions and 1 deletions

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()

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/",
]