Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Force coverage path remapping via explicit coverage xml step

joereynafdfd0e58edec
diff --git a/.github/workflows/test-litellm-matrix.yml b/.github/workflows/test-litellm-matrix.yml
index 0a7fd1dac99..9e02653658d 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