mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
Re-add Codecov coverage upload to GHA matrix workflow
This commit is contained in:
parent
94e0f44798
commit
d38498c3ef
3 changed files with 17 additions and 1 deletions
14
.github/workflows/test-litellm-matrix.yml
vendored
14
.github/workflows/test-litellm-matrix.yml
vendored
|
|
@ -171,4 +171,16 @@ jobs:
|
|||
--reruns ${{ matrix.test-group.reruns }} \
|
||||
--reruns-delay 1 \
|
||||
--dist=loadscope \
|
||||
--durations=20
|
||||
--durations=20 \
|
||||
--cov=litellm \
|
||||
--cov-report=xml:coverage-${{ matrix.test-group.name }}.xml \
|
||||
--cov-append
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
if: always()
|
||||
uses: codecov/codecov-action@v5
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
files: coverage-${{ matrix.test-group.name }}.xml
|
||||
flags: ${{ matrix.test-group.name }}
|
||||
fail_ci_if_error: false
|
||||
|
|
|
|||
|
|
@ -17,6 +17,9 @@ component_management:
|
|||
- component_id: "Proxy_Authentication"
|
||||
paths:
|
||||
- "*/proxy/auth/**"
|
||||
- component_id: "Enterprise"
|
||||
paths:
|
||||
- "enterprise/**"
|
||||
comment:
|
||||
layout: "header, diff, flags, components" # show component info in the PR comment
|
||||
|
||||
|
|
|
|||
|
|
@ -167,6 +167,7 @@ langfuse = "^2.45.0"
|
|||
fastapi-offline = "^1.7.3"
|
||||
fakeredis = "^2.27.1"
|
||||
pytest-rerunfailures = "^14.0"
|
||||
pytest-cov = "^5.0"
|
||||
parameterized = "^0.9.0"
|
||||
|
||||
[tool.poetry.group.proxy-dev.dependencies]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue