Skip to content

Commit 3003038

Browse files
committed
test: trying a version of schema per major pg version as there are type diffs
1 parent 29b11a3 commit 3003038

File tree

3 files changed

+2130
-2
lines changed

3 files changed

+2130
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ jobs:
157157
- name: verify schema.sql is committed
158158
run: |
159159
docker compose -f migrations/docker-compose.yaml up db dbmate --abort-on-container-exit
160-
if ! git diff --exit-code --quiet migrations/schema.sql; then
160+
if ! git diff --exit-code --quiet migrations/schema-${{ env.PGMAJOR }}.sql; then
161161
echo "Detected changes in schema.sql:"
162-
git diff migrations/schema.sql
162+
git diff migrations/schema-${{ env.PGMAJOR }}.sql
163163
exit 1
164164
fi

0 commit comments

Comments
 (0)