Skip to content

Commit 45ed5c0

Browse files
committed
Fix installation of pgvector extension in GitHub Actions [API-414]
1 parent 3e981dc commit 45ed5c0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/testing.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,18 @@ jobs:
4141

4242
- name: Install Postgres
4343
id: postgres
44-
image: pgvector/pgvector:pg17
4544
uses: ikalnytskyi/action-setup-postgres@v7
4645
with:
4746
username: homestead
4847
password: secret
4948
database: vectors
5049
port: 5432
50+
postgres-version: "16"
51+
52+
- name: Install pgvector
53+
run: |
54+
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y
55+
sudo apt-get install postgresql-16-pgvector
5156
5257
- name: Setup PHP with PECL extension
5358
uses: shivammathur/setup-php@v2

0 commit comments

Comments
 (0)