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."
|
echo "No changes to litellm or pyproject.toml. Skipping tests."
|
||||||
circleci step halt
|
circleci step halt
|
||||||
fi
|
fi
|
||||||
|
- restore_cache:
|
||||||
|
keys:
|
||||||
|
- v1-dependencies-{{ checksum ".circleci/requirements.txt" }}
|
||||||
- run:
|
- run:
|
||||||
name: Install Dependencies
|
name: Install Dependencies
|
||||||
command: |
|
command: |
|
||||||
|
@ -29,7 +31,10 @@ jobs:
|
||||||
pip install mypy
|
pip install mypy
|
||||||
pip install openai[datalib]
|
pip install openai[datalib]
|
||||||
pip install -Uq chromadb==0.3.29
|
pip install -Uq chromadb==0.3.29
|
||||||
|
- save_cache:
|
||||||
|
paths:
|
||||||
|
- ./venv
|
||||||
|
key: v1-dependencies-{{ checksum ".circleci/requirements.txt" }}
|
||||||
- run:
|
- run:
|
||||||
name: Linting Testing
|
name: Linting Testing
|
||||||
command: |
|
command: |
|
||||||
|
@ -43,7 +48,6 @@ jobs:
|
||||||
|
|
||||||
|
|
||||||
# Run pytest and generate JUnit XML report
|
# Run pytest and generate JUnit XML report
|
||||||
parallelism: 10
|
|
||||||
- run:
|
- run:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
command: |
|
command: |
|
||||||
|
|
|
@ -386,7 +386,7 @@ def test_completion_azure():
|
||||||
|
|
||||||
# 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
|
# use the following vars in this test and make an azure_api_call
|
||||||
# litellm.api_type = self.azure_api_type
|
# litellm.api_type = self.azure_api_type
|
||||||
# litellm.api_base = self.azure_api_base
|
# litellm.api_base = self.azure_api_base
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue