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:
58
58
db_url : " mssql://root:Password123!@127.0.0.1/sqlpage"
59
59
- database : odbc
60
60
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!"
62
62
setup_odbc : true
63
63
steps :
64
64
- uses : actions/checkout@v4
65
65
- name : Set up cargo cache
66
66
uses : Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
67
- - name : Setup ODBC for testing
67
+ - name : Install PostgreSQL ODBC driver
68
68
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
72
70
- name : Start database container
73
71
run : docker compose up --wait ${{ matrix.container }}
74
72
- name : Show container logs
Original file line number Diff line number Diff line change 4
4
# DATABASE_URL='postgres://root:Password123!@localhost/sqlpage'
5
5
# DATABASE_URL='mssql://root:Password123!@localhost/sqlpage'
6
6
# 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!'
7
8
8
9
# Run for instance:
9
10
# docker compose up postgres
You can’t perform that action at this time.
0 commit comments