Skip to content

Commit

Permalink
fix: Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tazarov committed Sep 5, 2024
1 parent 0f9160d commit 9022695
Showing 1 changed file with 23 additions and 20 deletions.
43 changes: 23 additions & 20 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: Test

on:
workflow_dispatch: { }
pull_request: { }
Expand All @@ -6,28 +8,28 @@ jobs:
runs-on: [ "ubuntu-latest" ]
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.9"
- 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
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
Expand All @@ -42,3 +44,4 @@ jobs:
run: |
set -e
poetry update
poetry run pytest

0 comments on commit 9022695

Please sign in to comment.