mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-15 16:24:23 +00:00
Fix coverage source paths for Codecov
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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/",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user