Skip to content

Commit 32caace

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

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/testing.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,14 +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
5150

51+
- name: Install pgvector
52+
run: |
53+
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y
54+
sudo apt-get install postgresql-17-pgvector
55+
5256
- name: Setup PHP with PECL extension
5357
uses: shivammathur/setup-php@v2
5458
with:

0 commit comments

Comments
 (0)