Skip to content

add LANGUAGE_MODEL_PROVIDER to makeroom #1703

add LANGUAGE_MODEL_PROVIDER to makeroom

add LANGUAGE_MODEL_PROVIDER to makeroom #1703

Workflow file for this run

name: Test backend
on:
push:
jobs:
backend-test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_USER: default
POSTGRES_PASSWORD: default
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
DATABASE_URL: "postgresql://default:default@localhost:5432/postgres?sslmode=disable"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
cache: true
- run: go build ./cmd/backend
- run: go run ./cmd/migrate
- run: go test ./...