Skip to content
Snippets Groups Projects
Unverified Commit 22d46db0 authored by Sean Quah's avatar Sean Quah Committed by GitHub
Browse files

Test against PostgreSQL 15 in CI (#14394)


Resolves #14170.

Signed-off-by: default avatarSean Quah <seanq@matrix.org>
parent a5fcdea0
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ if not IS_PR: ...@@ -64,7 +64,7 @@ if not IS_PR:
{ {
"python-version": "3.11", "python-version": "3.11",
"database": "postgres", "database": "postgres",
"postgres-version": "14", "postgres-version": "15",
"extras": "all", "extras": "all",
} }
) )
......
...@@ -412,7 +412,7 @@ jobs: ...@@ -412,7 +412,7 @@ jobs:
postgres-version: "11" postgres-version: "11"
- python-version: "3.11" - python-version: "3.11"
postgres-version: "14" postgres-version: "15"
services: services:
postgres: postgres:
...@@ -430,6 +430,15 @@ jobs: ...@@ -430,6 +430,15 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Add PostgreSQL apt repository
# We need a version of pg_dump that can handle the version of
# PostgreSQL being tested against. The Ubuntu package repository lags
# behind new releases, so we have to use the PostreSQL apt repository.
# Steps taken from https://www.postgresql.org/download/linux/ubuntu/
run: |
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
- run: sudo apt-get -qq install xmlsec1 postgresql-client - run: sudo apt-get -qq install xmlsec1 postgresql-client
- uses: matrix-org/setup-python-poetry@v1 - uses: matrix-org/setup-python-poetry@v1
with: with:
......
Test against PostgreSQL 15 in CI.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment