File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -58,17 +58,15 @@ jobs:
5858 db_url :
" mssql://root:[email protected] /sqlpage" 5959 - database : odbc
6060 container : postgres
61- db_url : " Driver={PostgreSQL Unicode} ;Server=127.0.0.1;Port=5432;Database=sqlpage;UID=root;PWD=Password123!"
61+ db_url : " Driver=/usr/lib64/psqlodbcw.so ;Server=127.0.0.1;Port=5432;Database=sqlpage;UID=root;PWD=Password123!"
6262 setup_odbc : true
6363 steps :
6464 - uses : actions/checkout@v4
6565 - name : Set up cargo cache
6666 uses : Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
67- - name : Setup ODBC for testing
67+ - name : Install PostgreSQL ODBC driver
6868 if : matrix.setup_odbc
69- run : |
70- # Install PostgreSQL ODBC driver (automatically registers the driver)
71- sudo apt-get install -y odbc-postgresql
69+ run : sudo apt-get install -y odbc-postgresql
7270 - name : Start database container
7371 run : docker compose up --wait ${{ matrix.container }}
7472 - name : Show container logs
Original file line number Diff line number Diff line change 44# DATABASE_URL='postgres://root:Password123!@localhost/sqlpage'
55# DATABASE_URL='mssql://root:Password123!@localhost/sqlpage'
66# DATABASE_URL='mysql://root:Password123!@localhost/sqlpage'
7+ # DATABASE_URL='Driver={/usr/lib64/psqlodbcw.so};Server=127.0.0.1;Port=5432;Database=sqlpage;UID=root;PWD=Password123!'
78
89# Run for instance:
910# docker compose up postgres
You can’t perform that action at this time.
0 commit comments