Skip to content

make collection_id primary key for segment, fix system tests (#1731) #1

make collection_id primary key for segment, fix system tests (#1731)

make collection_id primary key for segment, fix system tests (#1731) #1

name: Chroma Coordinator Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
- '**'
workflow_dispatch:
jobs:
test:
strategy:
matrix:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
services:
postgres:
image: postgres
env:
POSTGRES_USER: chroma
POSTGRES_PASSWORD: chroma
POSTGRES_DB: chroma
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build and test
run: cd go/coordinator && make test
env:
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432