mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-10 09:04:10 +00:00
Force coverage path remapping via explicit coverage xml step
This commit is contained in:
@@ -173,10 +173,14 @@ jobs:
|
||||
--dist=loadscope \
|
||||
--durations=20 \
|
||||
--cov=litellm \
|
||||
--cov-report=xml:coverage-${{ matrix.test-group.name }}.xml \
|
||||
--cov-append \
|
||||
--cov-report=xml \
|
||||
--cov-config=pyproject.toml
|
||||
|
||||
- name: Remap coverage paths
|
||||
if: always()
|
||||
run: |
|
||||
poetry run coverage xml -o coverage-${{ matrix.test-group.name }}.xml --rcfile=pyproject.toml
|
||||
|
||||
- name: Save coverage report
|
||||
if: always()
|
||||
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
|
||||
|
||||
Reference in New Issue
Block a user