File tree 1 file changed +9
-11
lines changed 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -30,19 +30,17 @@ jobs:
30
30
echo "Comment contains #evaluate hashtag"
31
31
32
32
- uses : actions/checkout@v4
33
- - name : Install PostgreSQL development libraries
33
+
34
+ - name : Install pgvector
34
35
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
43
41
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'
46
44
47
45
- name : Install python
48
46
uses : actions/setup-python@v5
You can’t perform that action at this time.
0 commit comments