Skip to content

Commit 9585592

Browse files
committed
test: add Supabase PostgreSQL 14 to pg-17 upgrade test
1 parent 9c69f87 commit 9585592

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build-and-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ jobs:
8989
test: { from: 15, to: 17, name: "15 to 17 (multi-step)" }
9090
- platform: linux/amd64
9191
test: { from: 14, to: 17, name: "14 to 17 (full upgrade)" }
92+
# Supabase PostgreSQL upgrade test
93+
- platform: linux/amd64
94+
test: { from: "supabase-14", to: 17, name: "Supabase 14.1.0.89 to 17", image: "public.ecr.aws/supabase/postgres:14.1.0.89" }
9295
# ARM64 test - just one to verify it works
9396
- platform: linux/arm64
9497
test: { from: 14, to: 17, name: "14 to 17 (full upgrade)" }
@@ -130,7 +133,7 @@ jobs:
130133
-v $PWD/test-data/${{ matrix.test.from }}:/var/lib/postgresql/data \
131134
-e POSTGRES_PASSWORD=testpass \
132135
-e POSTGRES_DB=testdb \
133-
postgres:${{ matrix.test.from }}-bookworm \
136+
${{ matrix.test.image || format('postgres:{0}-bookworm', matrix.test.from) }} \
134137
bash -c "
135138
set -e
136139
set -o pipefail

0 commit comments

Comments
 (0)