Skip to content

[ENH] Run the sysdb migration in sh so we can do env var substitition #941

[ENH] Run the sysdb migration in sh so we can do env var substitition

[ENH] Run the sysdb migration in sh so we can do env var substitition #941

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 && make test
env:
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432