feat: Llama.cpp EF download models from HF #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
workflow_dispatch: { } | |
pull_request: | |
paths: | |
- chromadbx/** | |
- test/** | |
jobs: | |
test: | |
runs-on: [ "ubuntu-latest" ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
# - name: Install Helm | |
# uses: azure/setup-helm@v1 | |
# with: | |
# version: v3.4.0 | |
# - name: start minikube | |
# id: minikube | |
# uses: medyagh/setup-minikube@latest | |
# with: | |
# kubernetes-version: 1.27.3 | |
# - name: Add helm repo | |
# run: | | |
# set -e | |
# helm repo add chromadb https://amikos-tech.github.io/chromadb-chart/ | |
# helm repo update | |
# - name: Install chromadb | |
# run: | | |
# set -e | |
# helm install chromadb chromadb/chromadb --set chromadb.allowReset=true,chromadb.apiVersion=${{ matrix.chroma-version }},chromadb.auth.enabled=false | |
- name: Install dependencies | |
run: | | |
set -e | |
python -m pip install --upgrade pip | |
curl -sSL https://install.python-poetry.org | python3 - | |
# - name: Lint with flake8 | |
# run: | | |
# set -e | |
# poetry update | |
# pre-commit run --from-ref HEAD~1 --to-ref HEAD | |
- name: Run tests | |
run: | | |
set -e | |
poetry update --with dev | |
poetry run pytest |