ci: test on Postgres 14 (#1557)

This commit is contained in:
Paolo Barbolini 2021-11-29 21:58:19 +01:00 committed by GitHub
parent 12d9f54c7d
commit f2b3cc8dc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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:

View file

@ -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",