diff --git a/.github/actions/build-node-python/action.yml b/.github/actions/build-node-python/action.yml index 198dd6c7..0bf4a4db 100644 --- a/.github/actions/build-node-python/action.yml +++ b/.github/actions/build-node-python/action.yml @@ -119,6 +119,12 @@ runs: pip --version uv --version shell: bash + - name: Install pgvector + if: inputs.enable_python == 'true' + run: | + sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y + sudo apt-get install postgresql-16-pgvector -y + shell: bash # General - name: Git config if: inputs.github_ro_token != '' diff --git a/.github/workflows/build-node-python.yml b/.github/workflows/build-node-python.yml index 77dabb41..4a9d96e9 100644 --- a/.github/workflows/build-node-python.yml +++ b/.github/workflows/build-node-python.yml @@ -201,7 +201,7 @@ jobs: services: postgres: - image: postgres:14 + image: pgvector/pgvector:pg16 env: POSTGRES_USER: admin POSTGRES_PASSWORD: admin @@ -340,7 +340,7 @@ jobs: services: postgres: - image: postgres:14 + image: pgvector/pgvector:pg16 env: POSTGRES_USER: admin POSTGRES_PASSWORD: admin