[BUG] Use correct env for query/compact in helm (#2097) #53
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: 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 | |
- uses: ariga/setup-atlas@v0 | |
- name: Build and test | |
run: cd go && make test | |
env: | |
POSTGRES_HOST: localhost | |
POSTGRES_PORT: 5432 |