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
ci: split slow test matrix groups to reduce wall-clock time
Julio Quinteros Pro1572162fdc1e
diff --git a/.github/workflows/test-litellm-matrix.yml b/.github/workflows/test-litellm-matrix.ymlindex e57168dd551..1f0425d5b0b 100644--- a/.github/workflows/test-litellm-matrix.yml+++ b/.github/workflows/test-litellm-matrix.yml@@ -48,8 +48,19 @@ jobs:path: "tests/test_litellm/litellm_core_utils"workers: 2reruns: 1- - name: "other"- path: "tests/test_litellm/caching tests/test_litellm/responses tests/test_litellm/secret_managers tests/test_litellm/vector_stores tests/test_litellm/a2a_protocol tests/test_litellm/anthropic_interface tests/test_litellm/completion_extras tests/test_litellm/containers tests/test_litellm/enterprise tests/test_litellm/experimental_mcp_client tests/test_litellm/google_genai tests/test_litellm/images tests/test_litellm/interactions tests/test_litellm/passthrough tests/test_litellm/router_strategy tests/test_litellm/router_utils tests/test_litellm/types"+ - name: "other-1"+ # responses (5942) + caching (1723) + types (819) ≈ 8.5k lines+ path: "tests/test_litellm/responses tests/test_litellm/caching tests/test_litellm/types"+ workers: 2+ reruns: 2+ - name: "other-2"+ # enterprise (3062) + google_genai (2511) + router_utils (1982) ≈ 7.6k lines+ path: "tests/test_litellm/enterprise tests/test_litellm/google_genai tests/test_litellm/router_utils"+ workers: 2+ reruns: 2+ - name: "other-3"+ # remaining dirs ≈ 8.0k lines+ path: "tests/test_litellm/router_strategy tests/test_litellm/secret_managers tests/test_litellm/a2a_protocol tests/test_litellm/anthropic_interface tests/test_litellm/completion_extras tests/test_litellm/containers tests/test_litellm/experimental_mcp_client tests/test_litellm/images tests/test_litellm/interactions tests/test_litellm/passthrough tests/test_litellm/vector_stores"workers: 2reruns: 2- name: "root"@@ -57,12 +68,29 @@ jobs:workers: 2reruns: 2# tests/proxy_unit_tests split alphabetically (~48 files total)- - name: "proxy-unit-a"- path: "tests/proxy_unit_tests/test_[a-o]*.py"+ - name: "proxy-unit-a1"+ # test_[a-j]*.py: jwt (1564) + auth_checks (978) + google_gemini (478) + e2e_pod_lock (437) + rest+ path: "tests/proxy_unit_tests/test_[a-j]*.py"+ workers: 2+ reruns: 1+ - name: "proxy-unit-a2"+ # test_[k-o]*.py: key_generate_prisma (4346) + key_generate_dynamodb + models_fallback+ path: "tests/proxy_unit_tests/test_[k-o]*.py"+ workers: 2+ reruns: 1+ - name: "proxy-unit-b1"+ # lighter config/utility proxy tests (prisma, project, prompt, proxy_[c-r]*)+ path: "tests/proxy_unit_tests/test_prisma*.py tests/proxy_unit_tests/test_project*.py tests/proxy_unit_tests/test_prompt*.py tests/proxy_unit_tests/test_proxy_[c-r]*.py"+ workers: 2+ reruns: 1+ - name: "proxy-unit-b2"+ # heavy server tests: proxy_server (2745) + proxy_utils (2339) + proxy_token_counter (1276)+ path: "tests/proxy_unit_tests/test_proxy_[s-z]*.py"workers: 2reruns: 1- - name: "proxy-unit-b"- path: "tests/proxy_unit_tests/test_[p-z]*.py"+ - name: "proxy-unit-b3"+ # test_[r-z]*.py: response_polling (1399) + user_api_key_auth (1136) + zero_cost (590) + rest+ path: "tests/proxy_unit_tests/test_[r-z]*.py"workers: 2reruns: 1