Skip to content

Commit

Permalink
fix: add postgres service to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
borisarzentar committed Aug 6, 2024
1 parent a590c6a commit 896a2ce
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test_common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,18 @@ jobs:
run:
shell: bash

services:
postgres:
image: postgres:latest
env:
POSTGRES_USER: cognee
POSTGRES_PASSWORD: cognee
POSTGRES_DB: cognee_db
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- 5432:5432

runs-on: ${{ matrix.os }}

steps:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test_qdrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ jobs:
run:
shell: bash

services:
postgres:
image: postgres:latest
env:
POSTGRES_USER: cognee
POSTGRES_PASSWORD: cognee
POSTGRES_DB: cognee_db
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- 5432:5432

steps:
- name: Check out
uses: actions/checkout@v2
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test_weaviate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ jobs:
run:
shell: bash

services:
postgres:
image: postgres:latest
env:
POSTGRES_USER: cognee
POSTGRES_PASSWORD: cognee
POSTGRES_DB: cognee_db
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- 5432:5432

steps:
- name: Check out
uses: actions/checkout@v2
Expand Down

0 comments on commit 896a2ce

Please sign in to comment.