Skip to content

Commit

Permalink
ci: test on Postgres 14
Browse files Browse the repository at this point in the history
  • Loading branch information
paolobarbolini committed Nov 25, 2021
1 parent 12d9f54 commit 4641e79
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sqlx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
#

Expand All @@ -104,7 +104,7 @@ services:
context: .
dockerfile: postgres/Dockerfile
args:
VERSION: 14rc1
VERSION: 14
ports:
- 5432
environment:
Expand Down
4 changes: 2 additions & 2 deletions tests/x.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def run(command, comment=None, env=None, service=None, tag=None, args=None, data
# 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}",
Expand All @@ -139,7 +139,7 @@ def run(command, comment=None, env=None, service=None, tag=None, args=None, data
)

## +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",
Expand Down

0 comments on commit 4641e79

Please sign in to comment.