Re-add Codecov coverage upload to GHA matrix workflow

This commit is contained in:
joereyna 2026-03-30 11:06:36 -07:00
parent 94e0f44798
commit d38498c3ef
No known key found for this signature in database
GPG key ID: 37E09E2BDB5920E5
3 changed files with 17 additions and 1 deletions

View file

@ -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

View file

@ -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

View file

@ -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]