Skip to content

Commit 9302931

Browse files
committed
feat: db ci
1 parent 2e533f7 commit 9302931

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/checks.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,21 @@ jobs:
1717
name: Lint, Typecheck & Test
1818
runs-on: ubuntu-latest
1919
timeout-minutes: 15
20+
21+
services:
22+
postgres:
23+
image: pgvector/pgvector:0.8.0-pg17
24+
ports:
25+
- 5432:5432
26+
env:
27+
POSTGRES_USER: root
28+
POSTGRES_PASSWORD: root
29+
POSTGRES_DB: app
30+
options: >-
31+
--health-cmd="pg_isready -U postgres"
32+
--health-interval=10s
33+
--health-timeout=5s
34+
--health-retries=5
2035
2136
steps:
2237
- name: Checkout repository

0 commit comments

Comments
 (0)