Skip to content

Commit

Permalink
add pgvector
Browse files Browse the repository at this point in the history
  • Loading branch information
emrgnt-cmplxty committed Oct 4, 2024
1 parent 1961b2c commit beba917
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/integration-test-workflow-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ jobs:
- name: Add PostgreSQL Apt Repository
run: |
sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/postgresql-archive-keyring.gpg] http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo tee /usr/share/keyrings/postgresql-archive-keyring.gpg > /dev/null
# Add the PostgreSQL Apt repository
echo "deb [signed-by=/usr/share/keyrings/postgresql-archive-keyring.gpg] http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list
# Download and add the repository GPG key
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo gpg --dearmor -o /usr/share/keyrings/postgresql-archive-keyring.gpg
- name: Install PostgreSQL and pgvector
run: |
Expand Down
3 changes: 1 addition & 2 deletions py/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,11 @@ def generate_random_vector_entry(
generate_random_vector_entry(i, dimension) for i in range(num_entries)
]

@pytest.fixture(scope="session")
@pytest.fixture(scope="function")
def app_config():
collection_id = uuid.uuid4()

random_project_name = f"a_{collection_id.hex}_test_project"
print("random_project_name", random_project_name)

return AppConfig(project_name=random_project_name)

Expand Down

0 comments on commit beba917

Please sign in to comment.