fix: remove unused postgres/valkey services from CI — tests are pure unit tests

This commit is contained in:
Ryan Moon
2026-04-01 21:01:33 -05:00
parent 4c971f90eb
commit 5993f8b370

View File

@@ -11,33 +11,6 @@ jobs:
ci:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16
env:
POSTGRES_USER: lunarfront
POSTGRES_PASSWORD: lunarfront
POSTGRES_DB: lunarfront_test
options: >-
--health-cmd pg_isready
--health-interval 5s
--health-timeout 3s
--health-retries 5
valkey:
image: valkey/valkey:8
options: >-
--health-cmd "valkey-cli ping"
--health-interval 5s
--health-timeout 3s
--health-retries 5
env:
DATABASE_URL: postgresql://lunarfront:lunarfront@localhost:5432/lunarfront_test
REDIS_URL: redis://localhost:6379
JWT_SECRET: ci-secret
NODE_ENV: test
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -53,9 +26,5 @@ jobs:
- name: Lint
run: bun run lint
- name: Run migrations
working-directory: packages/backend
run: bunx drizzle-kit migrate
- name: Test
run: bun run test