Skip to content

Commit 147abda

Browse files
author
Daniel Frankcom
committed
postgres: Add Postgres 17 direct connection test
1 parent 2e54483 commit 147abda

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/sqlx.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,17 @@ jobs:
314314
# but `PgLTree` should just fall back to text format
315315
RUSTFLAGS: --cfg postgres_${{ matrix.postgres }}_client_ssl
316316

317+
- if: matrix.tls != 'none' && matrix.postgres == '17'
318+
run: >
319+
cargo test
320+
--no-default-features
321+
--features any,postgres,macros,_unstable-all-types,runtime-${{ matrix.runtime }},tls-${{ matrix.tls }}
322+
env:
323+
DATABASE_URL: postgres://postgres@localhost:5432/sqlx?sslnegotiation=direct&sslmode=require&sslkey=.%2Ftests%2Fkeys%2Fclient.key&sslcert=.%2Ftests%2Fcerts%2Fclient.crt
324+
# FIXME: needed to disable `ltree` tests in Postgres 9.6
325+
# but `PgLTree` should just fall back to text format
326+
RUSTFLAGS: --cfg postgres_${{ matrix.postgres }}_client_ssl
327+
317328
mysql:
318329
name: MySQL
319330
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)