Skip to content

Commit 4641e79

Browse files
ci: test on Postgres 14
1 parent 12d9f54 commit 4641e79

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/sqlx.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ jobs:
186186
runs-on: ubuntu-20.04
187187
strategy:
188188
matrix:
189-
postgres: [13, 9_6]
189+
postgres: [14, 9_6]
190190
runtime: [async-std, tokio, actix]
191191
tls: [native-tls, rustls]
192192
needs: check

tests/docker-compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ services:
9595
MYSQL_DATABASE: sqlx
9696

9797
#
98-
# PostgreSQL 13.x, 12.x, 11.x 10.x, 9.6.x
98+
# PostgreSQL 14.x, 13.x, 12.x, 11.x 10.x, 9.6.x
9999
# https://www.postgresql.org/support/versioning/
100100
#
101101

@@ -104,7 +104,7 @@ services:
104104
context: .
105105
dockerfile: postgres/Dockerfile
106106
args:
107-
VERSION: 14rc1
107+
VERSION: 14
108108
ports:
109109
- 5432
110110
environment:

tests/x.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def run(command, comment=None, env=None, service=None, tag=None, args=None, data
130130
# postgres
131131
#
132132

133-
for version in ["13", "12", "11", "10", "9_6"]:
133+
for version in ["14", "13", "12", "11", "10", "9_6"]:
134134
run(
135135
f"cargo test --no-default-features --features macros,offline,any,all-types,postgres,runtime-{runtime}-{tls}",
136136
comment=f"test postgres {version}",
@@ -139,7 +139,7 @@ def run(command, comment=None, env=None, service=None, tag=None, args=None, data
139139
)
140140

141141
## +ssl
142-
for version in ["13", "12", "11", "10", "9_6"]:
142+
for version in ["14", "13", "12", "11", "10", "9_6"]:
143143
run(
144144
f"cargo test --no-default-features --features macros,offline,any,all-types,postgres,runtime-{runtime}-{tls}",
145145
comment=f"test postgres {version} ssl",

0 commit comments

Comments
 (0)