Test with pg16 (#691)

* Test with pg16

* Install pg 16 client
This commit is contained in:
Dan Sosedoff 2023-09-26 22:40:57 -05:00 committed by GitHub
parent 22daaad5a2
commit 5371b4af56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -28,7 +28,7 @@ jobs:
timeout-minutes: 30 timeout-minutes: 30
strategy: strategy:
matrix: matrix:
pg_version: [9.6, 10, 11, 12, 13, 14, 15] pg_version: [9.6, 10, 11, 12, 13, 14, 15, 16]
services: services:
postgres: postgres:
@ -50,7 +50,7 @@ jobs:
sudo rm -f /etc/apt/sources.list.d/pgdg.list sudo rm -f /etc/apt/sources.list.d/pgdg.list
curl --silent https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add curl --silent https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add
echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list
sudo apt-get update && sudo apt-get install -y postgresql-client-15 sudo apt-get update && sudo apt-get install -y postgresql-client-16
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:

View File

@ -11,6 +11,11 @@ x-base: &base
interval: 5s interval: 5s
services: services:
postgres16:
<<: *base
image: postgres:16
ports:
- 5433:5432
postgres15: postgres15:
<<: *base <<: *base
image: postgres:15 image: postgres:15