Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

ci(postgres): restore with the 18 client tools the image ships

Mauriced83841f53bf3
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b5b626164..15ebb0230 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -757,6 +757,15 @@ jobs:
if-no-files-found: ignore
retention-days: 14
+ # The image ships the 18 client tools, which write settings a 14 server
+ # does not know; the backup round trip runs with the same tools here.
+ - name: Install the PostgreSQL 18 client tools
+ run: |
+ set -euo pipefail
+ sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y >/dev/null
+ sudo apt-get install -y --no-install-recommends postgresql-client-18 >/dev/null
+ /usr/lib/postgresql/18/bin/pg_restore --version
+
- name: Run the Postgres lane
if: ${{ !cancelled() }}
env: