Skip to content

Commit

Permalink
Update test.yml and test-min.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarobartt committed May 29, 2024
1 parent 420acd0 commit 3d0a31f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-min.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ jobs:
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
python_version=$(python -c "import sys; print(sys.version_info[:2])")
pip install uv
uv pip install --system --resolution lowest --editable ".[dev,tests,anthropic,argilla,cohere,groq,hf-inference-endpoints,hf-transformers,litellm,llama-cpp,ollama,openai,outlines,vertexai,vllm]"
uv pip install --system --resolution lowest -e .[dev,tests,anthropic,argilla,cohere,groq,hf-inference-endpoints,hf-transformers,litellm,llama-cpp,ollama,openai,outlines,vertexai,vllm]
python_version=$(python -c "import sys; print(sys.version_info[:2])")
if [ "${python_version}" != "(3, 8)" ]; then
uv pip install --system --resolution lowest -e .[mistralai,instructor]
uv pip install --system --resolution lowest --editable ".[mistralai,instructor]"
fi;
# Here we don't use the `--resolution=lowest` flag because we had issues
# in the past with LLM-Blender, that's why we're also using a custom fork
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ jobs:
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
python_version=$(python -c "import sys; print(sys.version_info[:2])")
pip install uv
uv pip install --system --resolution highest -e .[dev,tests,anthropic,argilla,cohere,groq,hf-inference-endpoints,hf-transformers,litellm,llama-cpp,ollama,openai,outlines,vertexai,vllm]
uv pip install --system --resolution highest --editable ".[dev,tests,anthropic,argilla,cohere,groq,hf-inference-endpoints,hf-transformers,litellm,llama-cpp,ollama,openai,outlines,vertexai,vllm]"
python_version=$(python -c "import sys; print(sys.version_info[:2])")
if [ "${python_version}" != "(3, 8)" ]; then
uv pip install --system --resolution highest -e .[mistralai,instructor]
uv pip install --system --resolution highest --editable ".[mistralai,instructor]"
fi;
# We're using a custom fork since otherwise LLM-Blender cannot be installed
# due to a dependency mismatch on their end, solved in the fork by pinning
Expand Down

0 comments on commit 3d0a31f

Please sign in to comment.