Skip to content

Commit

Permalink
install odbc
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Dec 18, 2024
1 parent 6d83a06 commit 9d587d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 139,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install Microsoft ODBC
run: sudo ACCEPT_EULA=Y apt-get install msodbcsql18 -y

- name: Create MS SQL Database
run: docker exec -i mssql /opt/mssql-tools18/bin/sqlcmd -C -S localhost -U SA -P 'YourStrong!Passw0rd' -Q 'CREATE DATABASE nextras_dbal_test'

Expand Down
2 changes: 2 additions & 0 deletions tests/databases.github.ini
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 85,7 @@ username = SA
password = "YourStrong!Passw0rd"
database = nextras_dbal_test
port = 1433
TrustServerCertificate = true

[sqlsrv pdo]
driver = pdo_sqlsrv
Expand All @@ -93,3 94,4 @@ username = SA
password = "YourStrong!Passw0rd"
database = nextras_dbal_test
port = 1433
TrustServerCertificate = true

0 comments on commit 9d587d7

Please sign in to comment.