From fdfd0e58edecbdf6db11ce039683a11b62b025e3 Mon Sep 17 00:00:00 2001 From: joereyna Date: Tue, 31 Mar 2026 11:56:55 -0700 Subject: [PATCH] Force coverage path remapping via explicit coverage xml step --- .github/workflows/test-litellm-matrix.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-litellm-matrix.yml b/.github/workflows/test-litellm-matrix.yml index 0a7fd1dac9..9e02653658 100644 --- a/.github/workflows/test-litellm-matrix.yml +++ b/.github/workflows/test-litellm-matrix.yml @@ -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