File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -30,19 +30,17 @@ jobs:
3030 echo "Comment contains #evaluate hashtag"
3131
3232 - uses : actions/checkout@v4
33- - name : Install PostgreSQL development libraries
33+
34+ - name : Install pgvector
3435 run : |
35- sudo apt update
36- sudo apt install postgresql-server-dev-14
37- - name : Setup postgres
38- uses : ikalnytskyi/action-setup-postgres@v6
39- with :
40- username : admin
41- password : postgres
42- database : postgres
36+ sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y
37+ sudo apt-get install postgresql-14-pgvector
38+
39+ - name : Start postgres
40+ run : sudo systemctl start postgresql
4341
44- - name : Install pgvector on MacOS/Linux using install-pgvector.sh
45- run : .github/workflows/install-pgvector.sh
42+ - name : Create vector extension
43+ - run : sudo -u postgres psql -c 'CREATE EXTENSION vector'
4644
4745 - name : Install python
4846 uses : actions/setup-python@v5
You can’t perform that action at this time.
0 commit comments