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]

ci(config.yml): run enterprise and litellm tests separately

Krrish Dholakia247c36445128
diff --git a/.circleci/config.yml b/.circleci/config.yml
index fd60204b2ce..2d498e1cbdc 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -927,11 +927,18 @@ jobs:
- setup_litellm_enterprise_pip
# Run pytest and generate JUnit XML report
- run:
- name: Run tests
+ name: Run litellm tests
+ command: |
+ pwd
+ ls
+ python -m pytest -vv tests/litellm --cov=litellm --cov-report=xml -x -s -v --junitxml=test-results/junit-litellm.xml --durations=10 -n 4
+ no_output_timeout: 120m
+ - run:
+ name: Run enterprise tests
command: |
pwd
ls
- python -m pytest -vv tests/litellm tests/enterprise --cov=litellm --cov-report=xml -x -s -v --junitxml=test-results/junit.xml --durations=10 -n 4
+ python -m pytest -vv tests/enterprise --cov=litellm --cov-report=xml -x -s -v --junitxml=test-results/junit-enterprise.xml --durations=10 -n 4
no_output_timeout: 120m
- run:
name: Rename the coverage files