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]

litellm_mapped_tests_integrations

Ishaan Jaffer6c2408f95780
diff --git a/.circleci/config.yml b/.circleci/config.yml
index a7ff1a50f85..bd427f42756 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1465,7 +1465,7 @@ jobs:
- run:
name: Run core tests
command: |
- python -m pytest tests/test_litellm --ignore=tests/test_litellm/proxy --ignore=tests/test_litellm/llms --cov=litellm --cov-report=xml --junitxml=test-results/junit-core.xml --durations=10 -n 16 --maxfail=5 --timeout=300 -vv --log-cli-level=WARNING
+ python -m pytest tests/test_litellm --ignore=tests/test_litellm/proxy --ignore=tests/test_litellm/llms --ignore=tests/test_litellm/integrations --cov=litellm --cov-report=xml --junitxml=test-results/junit-core.xml --durations=10 -n 16 --maxfail=5 --timeout=300 -vv --log-cli-level=WARNING
no_output_timeout: 120m
- run:
name: Rename the coverage files
@@ -1479,6 +1479,33 @@ jobs:
paths:
- litellm_core_tests_coverage.xml
- litellm_core_tests_coverage
+ litellm_mapped_tests_integrations:
+ docker:
+ - image: cimg/python:3.11
+ auth:
+ username: ${DOCKERHUB_USERNAME}
+ password: ${DOCKERHUB_PASSWORD}
+ working_directory: ~/project
+ resource_class: xlarge
+ steps:
+ - setup_litellm_test_deps
+ - run:
+ name: Run integrations tests
+ command: |
+ python -m pytest tests/test_litellm/integrations --cov=litellm --cov-report=xml --junitxml=test-results/junit-integrations.xml --durations=10 -n 16 --maxfail=5 --timeout=300 -vv --log-cli-level=WARNING
+ no_output_timeout: 120m
+ - run:
+ name: Rename the coverage files
+ command: |
+ mv coverage.xml litellm_integrations_tests_coverage.xml
+ mv .coverage litellm_integrations_tests_coverage
+ - store_test_results:
+ path: test-results
+ - persist_to_workspace:
+ root: .
+ paths:
+ - litellm_integrations_tests_coverage.xml
+ - litellm_integrations_tests_coverage
litellm_mapped_enterprise_tests:
docker:
- image: cimg/python:3.11
@@ -3872,6 +3899,12 @@ workflows:
only:
- main
- /litellm_.*/
+ - litellm_mapped_tests_integrations:
+ filters:
+ branches:
+ only:
+ - main
+ - /litellm_.*/
- batches_testing:
filters:
branches:
@@ -3920,6 +3953,7 @@ workflows:
- litellm_mapped_tests_proxy
- litellm_mapped_tests_llms
- litellm_mapped_tests_core
+ - litellm_mapped_tests_integrations
- litellm_mapped_enterprise_tests
- batches_testing
- litellm_utils_testing
@@ -3991,6 +4025,7 @@ workflows:
- litellm_mapped_tests_proxy
- litellm_mapped_tests_llms
- litellm_mapped_tests_core
+ - litellm_mapped_tests_integrations
- litellm_mapped_enterprise_tests
- batches_testing
- litellm_utils_testing