forked from phoenix/litellm-mirror
cache pip deps
This commit is contained in:
parent
19d26b944e
commit
7a7e39587a
2 changed files with 8 additions and 4 deletions
|
@ -17,7 +17,9 @@ jobs:
|
|||
echo "No changes to litellm or pyproject.toml. Skipping tests."
|
||||
circleci step halt
|
||||
fi
|
||||
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1-dependencies-{{ checksum ".circleci/requirements.txt" }}
|
||||
- run:
|
||||
name: Install Dependencies
|
||||
command: |
|
||||
|
@ -29,7 +31,10 @@ jobs:
|
|||
pip install mypy
|
||||
pip install openai[datalib]
|
||||
pip install -Uq chromadb==0.3.29
|
||||
|
||||
- save_cache:
|
||||
paths:
|
||||
- ./venv
|
||||
key: v1-dependencies-{{ checksum ".circleci/requirements.txt" }}
|
||||
- run:
|
||||
name: Linting Testing
|
||||
command: |
|
||||
|
@ -43,7 +48,6 @@ jobs:
|
|||
|
||||
|
||||
# Run pytest and generate JUnit XML report
|
||||
parallelism: 10
|
||||
- run:
|
||||
name: Run tests
|
||||
command: |
|
||||
|
|
|
@ -386,7 +386,7 @@ def test_completion_azure():
|
|||
|
||||
# test_completion_azure()
|
||||
|
||||
# new azure test for using litellm. vars
|
||||
# new azure test for using litellm. vars,
|
||||
# use the following vars in this test and make an azure_api_call
|
||||
# litellm.api_type = self.azure_api_type
|
||||
# litellm.api_base = self.azure_api_base
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue