Litellm test ci cd (#6997)

* ci(config.yml): run parallel tests

* fix(conftest.py): add pytest retry summary

* ci(config.yml;): add pip install "pytest-xdist==3.6.1"

* ci: revert conftest
This commit is contained in:
Krish Dholakia 2024-12-02 23:01:09 -08:00 committed by GitHub
parent 89fcd7b0e1
commit 05aa740a7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,6 +68,7 @@ jobs:
pip install "diskcache==5.6.1"
pip install "Pillow==10.3.0"
pip install "jsonschema==4.22.0"
pip install "pytest-xdist==3.6.1"
- save_cache:
paths:
- ./venv
@ -103,7 +104,7 @@ jobs:
command: |
pwd
ls
python -m pytest -vv tests/local_testing --cov=litellm --cov-report=xml -x --junitxml=test-results/junit.xml --durations=5 -k "not test_python_38.py and not router and not assistants and not langfuse and not caching and not cache"
python -m pytest -vv tests/local_testing --cov=litellm --cov-report=xml -x --junitxml=test-results/junit.xml --durations=5 -k "not test_python_38.py and not router and not assistants and not langfuse and not caching and not cache" -n 4
no_output_timeout: 120m
- run:
name: Rename the coverage files