refactor: Change database name in PGVectorAdapter test and workflow
Changed database name in test and workflow to be the same as in the .env.template Refactor #COG-170
This commit is contained in:
parent
9461ba0fd1
commit
2cedcbe670
2 changed files with 2 additions and 1 deletions
1
.github/workflows/test_pgvector.yml
vendored
1
.github/workflows/test_pgvector.yml
vendored
|
|
@ -32,6 +32,7 @@ jobs:
|
|||
env:
|
||||
POSTGRES_USER: cognee
|
||||
POSTGRES_PASSWORD: cognee
|
||||
POSTGRES_DB: cognee_db
|
||||
options: >-
|
||||
--health-cmd pg_isready
|
||||
--health-interval 10s
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ async def main():
|
|||
#TODO: Should this be set on pipeline side or in the test?
|
||||
cognee.config.set_vector_engine_provider("pgvector")
|
||||
cognee.config.set_db_provider("postgres")
|
||||
cognee.config.set_db_name("postgres")
|
||||
cognee.config.set_db_name("cognee_db")
|
||||
cognee.config.set_db_host("127.0.0.1")
|
||||
cognee.config.set_db_port("5432")
|
||||
cognee.config.set_db_username("cognee")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue