Skip to content

Commit

Permalink
activate extension
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkent committed May 24, 2024
1 parent 2fe3b3b commit 2321e68
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,15 @@ jobs:
store_pgsql pg_isready -U postgres; do sleep 1; done
sleep 1
docker compose logs store_pgsql
docker compose exec -T \
store_pgsql \
psql -U postgres -c "create database test_db;"
docker compose exec -T \
store_pgsql \
psql -U postgres -c "create database test_db"
psql -U postgres -c "CREATE EXTENSION IF NOT EXISTS vector;"
-
name: Backend Tests
env:
Expand Down Expand Up @@ -238,6 +242,10 @@ jobs:
docker compose exec -T \
compose_pgsql \
psql -U postgres -c "create database test_db"
docker compose exec -T \
store_pgsql \
psql -U postgres -c "CREATE EXTENSION IF NOT EXISTS vector;"
-
name: Backend Tests
env:
Expand Down Expand Up @@ -445,6 +453,10 @@ jobs:
docker compose exec -T \
store_pgsql \
psql -U postgres -c "create database neurostore"
docker compose exec -T \
store_pgsql \
psql -U postgres -c "CREATE EXTENSION IF NOT EXISTS vector;"
-
name: Initialize Compose Database
run: |
Expand Down

0 comments on commit 2321e68

Please sign in to comment.