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 251c525 commit e26db5f
Show file tree
Hide file tree
Showing 3 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 @@ -146,6 +146,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_orm_test'

Expand Down
1 change: 1 addition & 0 deletions tests/config.dbal.neon
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ nextras.dbal2:
username: %db.username%
password: %db.password%
autowired: %autowired2%
TrustServerCertificate: true

nextras.orm:
model: NextrasTests\Orm\Model
Expand Down
1 change: 1 addition & 0 deletions tests/databases.github.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ username = SA
password = "YourStrong!Passw0rd"
database = nextras_orm_test
port = 1433
TrustServerCertificate = true

0 comments on commit e26db5f

Please sign in to comment.