diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4eb50a54..8360ddd4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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' diff --git a/tests/databases.github.ini b/tests/databases.github.ini index 33a0fedb..577544d2 100644 --- a/tests/databases.github.ini +++ b/tests/databases.github.ini @@ -47,3 +47,4 @@ username = SA password = "YourStrong!Passw0rd" database = nextras_orm_test port = 1433 +TrustServerCertificate = true