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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Measure coverage from repo root so filenames include litellm/ prefix
joereynab8eac3059aec
diff --git a/.github/workflows/test-litellm-matrix.yml b/.github/workflows/test-litellm-matrix.ymlindex 9e02653658d..461f2bb3053 100644--- a/.github/workflows/test-litellm-matrix.yml+++ b/.github/workflows/test-litellm-matrix.yml@@ -172,15 +172,10 @@ jobs:--reruns-delay 1 \--dist=loadscope \--durations=20 \- --cov=litellm \+ --cov=. \--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 reportif: always()uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1diff --git a/pyproject.toml b/pyproject.tomlindex a3ac12d7aae..4c40762deb3 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -211,10 +211,11 @@ filterwarnings = [][tool.coverage.run]-source = ["litellm"]--[tool.coverage.paths]-litellm = [- "litellm",- "/home/runner/work/litellm/litellm/litellm",+source = ["."]+omit = [+ "tests/*",+ "enterprise/*",+ ".venv/*",+ "*/site-packages/*",]+relative_files = true