Skip to content

Commit 384ddf9

Browse files
committed
chore: Update test.sh to include Docker command for PostgreSQL setup and adjust database URL for ODBC tests
1 parent dfd328d commit 384ddf9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ DATABASE_URL='mysql://root:password@localhost/sqlx' cargo test --features any,my
1010

1111
DATABASE_URL='sqlite://./tests/sqlite/sqlite.db' cargo test --features any,sqlite,macros,all-types,runtime-actix-rustls --
1212

13-
ATABASE_URL='DSN=SQLX_PG_55432;UID=postgres;PWD=password' cargo test --no-default-features --features odbc,macros,runtime-tokio-rustls --test odbc
13+
docker compose -f tests/docker-compose.yml run -it -p 5432:5432 --name postgres_16_no_ssl postgres_16_no_ssl
14+
DATABASE_URL='DSN=SQLX_PG_55432;UID=postgres;PWD=password' cargo test --no-default-features --features odbc,macros,runtime-tokio-rustls --test odbc

0 commit comments

Comments
 (0)