From f2b3cc8dc3035279243f3a636379f7f20838488a Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Mon, 29 Nov 2021 21:58:19 +0100 Subject: [PATCH] ci: test on Postgres 14 (#1557) --- .github/workflows/sqlx.yml | 2 +- tests/docker-compose.yml | 4 ++-- tests/x.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sqlx.yml b/.github/workflows/sqlx.yml index 229c2485..44964b50 100644 --- a/.github/workflows/sqlx.yml +++ b/.github/workflows/sqlx.yml @@ -186,7 +186,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - postgres: [13, 9_6] + postgres: [14, 9_6] runtime: [async-std, tokio, actix] tls: [native-tls, rustls] needs: check diff --git a/tests/docker-compose.yml b/tests/docker-compose.yml index a6f01096..a5779d69 100644 --- a/tests/docker-compose.yml +++ b/tests/docker-compose.yml @@ -95,7 +95,7 @@ services: MYSQL_DATABASE: sqlx # - # PostgreSQL 13.x, 12.x, 11.x 10.x, 9.6.x + # PostgreSQL 14.x, 13.x, 12.x, 11.x 10.x, 9.6.x # https://www.postgresql.org/support/versioning/ # @@ -104,7 +104,7 @@ services: context: . dockerfile: postgres/Dockerfile args: - VERSION: 14rc1 + VERSION: 14 ports: - 5432 environment: diff --git a/tests/x.py b/tests/x.py index 3fd77e88..33e5ffce 100755 --- a/tests/x.py +++ b/tests/x.py @@ -130,7 +130,7 @@ for runtime in ["async-std", "tokio", "actix"]: # postgres # - for version in ["13", "12", "11", "10", "9_6"]: + for version in ["14", "13", "12", "11", "10", "9_6"]: run( f"cargo test --no-default-features --features macros,offline,any,all-types,postgres,runtime-{runtime}-{tls}", comment=f"test postgres {version}", @@ -139,7 +139,7 @@ for runtime in ["async-std", "tokio", "actix"]: ) ## +ssl - for version in ["13", "12", "11", "10", "9_6"]: + for version in ["14", "13", "12", "11", "10", "9_6"]: run( f"cargo test --no-default-features --features macros,offline,any,all-types,postgres,runtime-{runtime}-{tls}", comment=f"test postgres {version} ssl",