mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 23:35:20 +00:00
ci: test on Postgres 14 (#1557)
This commit is contained in:
parent
12d9f54c7d
commit
f2b3cc8dc3
2
.github/workflows/sqlx.yml
vendored
2
.github/workflows/sqlx.yml
vendored
@ -186,7 +186,7 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
postgres: [13, 9_6]
|
postgres: [14, 9_6]
|
||||||
runtime: [async-std, tokio, actix]
|
runtime: [async-std, tokio, actix]
|
||||||
tls: [native-tls, rustls]
|
tls: [native-tls, rustls]
|
||||||
needs: check
|
needs: check
|
||||||
|
@ -95,7 +95,7 @@ services:
|
|||||||
MYSQL_DATABASE: sqlx
|
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/
|
# https://www.postgresql.org/support/versioning/
|
||||||
#
|
#
|
||||||
|
|
||||||
@ -104,7 +104,7 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: postgres/Dockerfile
|
dockerfile: postgres/Dockerfile
|
||||||
args:
|
args:
|
||||||
VERSION: 14rc1
|
VERSION: 14
|
||||||
ports:
|
ports:
|
||||||
- 5432
|
- 5432
|
||||||
environment:
|
environment:
|
||||||
|
@ -130,7 +130,7 @@ for runtime in ["async-std", "tokio", "actix"]:
|
|||||||
# postgres
|
# postgres
|
||||||
#
|
#
|
||||||
|
|
||||||
for version in ["13", "12", "11", "10", "9_6"]:
|
for version in ["14", "13", "12", "11", "10", "9_6"]:
|
||||||
run(
|
run(
|
||||||
f"cargo test --no-default-features --features macros,offline,any,all-types,postgres,runtime-{runtime}-{tls}",
|
f"cargo test --no-default-features --features macros,offline,any,all-types,postgres,runtime-{runtime}-{tls}",
|
||||||
comment=f"test postgres {version}",
|
comment=f"test postgres {version}",
|
||||||
@ -139,7 +139,7 @@ for runtime in ["async-std", "tokio", "actix"]:
|
|||||||
)
|
)
|
||||||
|
|
||||||
## +ssl
|
## +ssl
|
||||||
for version in ["13", "12", "11", "10", "9_6"]:
|
for version in ["14", "13", "12", "11", "10", "9_6"]:
|
||||||
run(
|
run(
|
||||||
f"cargo test --no-default-features --features macros,offline,any,all-types,postgres,runtime-{runtime}-{tls}",
|
f"cargo test --no-default-features --features macros,offline,any,all-types,postgres,runtime-{runtime}-{tls}",
|
||||||
comment=f"test postgres {version} ssl",
|
comment=f"test postgres {version} ssl",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user