Skip to content

Commit 327868f

Browse files
committed
speed up llm_translation_testing
1 parent 355e611 commit 327868f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,13 +742,14 @@ jobs:
742742
pip install "pytest-cov==5.0.0"
743743
pip install "pytest-asyncio==0.21.1"
744744
pip install "respx==0.22.0"
745+
pip install "pytest-xdist==3.6.1"
745746
# Run pytest and generate JUnit XML report
746747
- run:
747748
name: Run tests
748749
command: |
749750
pwd
750751
ls
751-
python -m pytest -vv tests/llm_translation --cov=litellm --cov-report=xml -x -v --junitxml=test-results/junit.xml --durations=5
752+
python -m pytest -vv tests/llm_translation --cov=litellm --cov-report=xml -x -v --junitxml=test-results/junit.xml --durations=5 -n 4
752753
no_output_timeout: 120m
753754
- run:
754755
name: Rename the coverage files

0 commit comments

Comments
 (0)