Skip to content

Commit 2a06e68

Browse files
committed
More OSes
1 parent 00ee507 commit 2a06e68

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/app-tests.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,15 @@ jobs:
4949
brew install pgvector
5050
brew services start postgresql@14 && sleep 1
5151
psql -d postgres -c 'CREATE EXTENSION vector'
52+
psql -d postgres -c "ALTER USER $(whoami) WITH PASSWORD '${{ secrets.POSTGRES_PASSWORD }}'"
5253
5354
- name: (MacOSLarge) Install postgreSQL using action-setup-postgres
5455
if: matrix.os == 'macos-latest-xlarge'
5556
uses: ikalnytskyi/action-setup-postgres@v6
5657
with:
57-
username: admin
58-
password: postgres
59-
database: postgres
58+
username: ${{ env.POSTGRES_USERNAME }}
59+
password: ${{ env.POSTGRES_PASSWORD }}
60+
database: ${{ env.POSTGRES_DATABASE }}
6061

6162
- name: (Windows) Install pgvector using install-pgvector.bat
6263
if: matrix.os == 'windows-latest'

0 commit comments

Comments
 (0)