From f382442aec17f3a66a474f49474ded4476400b22 Mon Sep 17 00:00:00 2001 From: Jan Skrasek Date: Wed, 18 Dec 2024 18:40:23 +0100 Subject: [PATCH] install odbc --- .github/workflows/build.yml | 3 +++ tests/databases.github.ini | 1 + 2 files changed, 4 insertions(+) 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