Skip to content

Commit

Permalink
Fix installation of pgvector extension in GitHub Actions [API-414]
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhiltri committed Jan 30, 2025
1 parent 3e981dc commit 45ed5c0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,18 @@ jobs:

- name: Install Postgres
id: postgres
image: pgvector/pgvector:pg17
uses: ikalnytskyi/action-setup-postgres@v7
with:
username: homestead
password: secret
database: vectors
port: 5432
postgres-version: "16"

- name: Install pgvector
run: |
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y
sudo apt-get install postgresql-16-pgvector
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
Expand Down

0 comments on commit 45ed5c0

Please sign in to comment.