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]

fixing circleci config

yuneng-jiangacd8f21f6882
diff --git a/.circleci/config.yml b/.circleci/config.yml
index d4d35a08814..2a534b7973e 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -208,10 +208,12 @@ jobs:
name: Run tests
command: |
mkdir test-results
+
# Discover test files
TEST_FILES=$(circleci tests glob "tests/local_testing/**/test_*.py")
+
echo "$TEST_FILES" | circleci tests run \
- --split-by=filesize \
+ --split-by=timings \
--verbose \
--command="xargs python -m pytest \
-vv \
@@ -222,7 +224,7 @@ jobs:
-k \"not test_python_38.py and not test_basic_python_version.py and not router and not assistants and not langfuse and not caching and not cache\" \
-n 4 \
--timeout=300 \
- --timeout_method=thread"
+
no_output_timeout: 120m
- run:
name: Rename the coverage files
@@ -509,7 +511,6 @@ jobs:
username: ${DOCKERHUB_USERNAME}
password: ${DOCKERHUB_PASSWORD}
working_directory: ~/project
- parallelism: 4
steps:
- checkout
- setup_google_dns
@@ -531,21 +532,9 @@ jobs:
- run:
name: Run tests
command: |
- mkdir test-results
- # Find test files only in local_testing
- TEST_FILES=$(circleci tests glob "tests/local_testing/**/test_*.py")
- echo "$TEST_FILES" | circleci tests run \
- --split-by=filesize \
- --verbose \
- --command="xargs python -m pytest -o junit_family=legacy \
- -k 'router' \
- --cov=litellm \
- --cov-report=xml \
- -n 4 \
- --dist=loadscope \
- --junitxml=test-results/junit.xml \
- --durations=5 \
- -vv"
+ pwd
+ ls
+ python -m pytest tests/local_testing --cov=litellm --cov-report=xml -vv -k "router" -v --junitxml=test-results/junit.xml --durations=5
no_output_timeout: 120m
- run:
name: Rename the coverage files