mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-17 04:26:20 +00:00
Re-add Codecov coverage upload to GHA matrix workflow
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user