Spaces:
Sleeping
Sleeping
name: Chroma Cluster Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
- '**' | |
workflow_dispatch: | |
jobs: | |
test: | |
strategy: | |
matrix: | |
python: ['3.8'] | |
platform: ['16core-64gb-ubuntu-latest'] | |
testfile: ["chromadb/test/ingest/test_producer_consumer.py", | |
"chromadb/test/db/test_system.py", | |
"chromadb/test/segment/distributed/test_memberlist_provider.py",] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install test dependencies | |
run: python -m pip install -r requirements.txt && python -m pip install -r requirements_dev.txt | |
- name: Start minikube | |
id: minikube | |
uses: medyagh/setup-minikube@latest | |
with: | |
minikube-version: latest | |
kubernetes-version: latest | |
driver: docker | |
addons: ingress, ingress-dns | |
start-args: '--profile chroma-test' | |
- name: Integration Test | |
run: bin/cluster-test.sh ${{ matrix.testfile }} | |