Force coverage path remapping via explicit coverage xml step

This commit is contained in:
joereyna
2026-03-31 11:56:55 -07:00
parent 57c22d3a41
commit fdfd0e58ed
+6 -2
View File
@@ -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