cache pip deps

This commit is contained in:
ishaan-jaff 2023-09-11 08:27:09 -07:00
parent 19d26b944e
commit 7a7e39587a
2 changed files with 8 additions and 4 deletions

View file

@ -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: |

View file

@ -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