Skip to content

Commit 99d4930

Browse files
authored
ci: use postgres 15 for content api tests (#16706)
Content API Tests are currently failing because this job boots the latest Figma-hosted Content API image against `postgres:13`. The latest image includes https://github.com/figma/figma/pull/776922, which added PG15-only `UNIQUE NULLS NOT DISTINCT` index syntax, so Content API migrations fail before Payload tests run. cc @asalani-figma Failed job example: - Content API Tests on #16702: https://github.com/payloadcms/payload/actions/runs/26216770563/job/77142295149?pr=16702 This updates only the ephemeral database used by the Content API service in Payload CI. That database belongs to Figma-hosted Content API, not Payload or the database adapter, so matching Content API's Postgres requirement is the intended fix here. --------- Co-authored-by: German Jablonski <GermanJablo@users.noreply.github.com>
1 parent 055c508 commit 99d4930

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ jobs:
502502
contents: read
503503
services:
504504
postgres:
505-
image: postgres:13
505+
image: postgres:15
506506
env:
507507
POSTGRES_DB: figma_content_api
508508
POSTGRES_USER: postgres

0 commit comments

Comments
 (0)