mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
Fix coverage source paths for Codecov
This commit is contained in:
parent
4d7045d981
commit
e7e0637f53
2 changed files with 9 additions and 1 deletions
3
.github/workflows/test-litellm-matrix.yml
vendored
3
.github/workflows/test-litellm-matrix.yml
vendored
|
|
@ -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/",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue