fix: add postgres service to tests
This commit is contained in:
parent
a590c6ae5b
commit
896a2ce953
3 changed files with 36 additions and 0 deletions
12
.github/workflows/test_common.yml
vendored
12
.github/workflows/test_common.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
12
.github/workflows/test_qdrant.yml
vendored
12
.github/workflows/test_qdrant.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
12
.github/workflows/test_weaviate.yml
vendored
12
.github/workflows/test_weaviate.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue