Files
soci/scripts/ci/test_mssql.sh
Vadim Zeitlin 90822ba689 Add jobs running tests against SQL Server to GitHub Actions CI
Install the server using the container provided by Microsoft and run the
ODBC backend tests against it using both Microsoft and FreeTDS drivers.
2026-09-01 01:34:42 +02:00

11 lines
433 B
Bash
Executable File

#!/usr/bin/env bash
# Tests SOCI ODBC backend with MS SQL Server in CI builds
#
# Copyright (c) 2026 Vadim Zeitlin <vz-soci@zeitlins.org>
#
source ${SOCI_SOURCE_DIR}/scripts/ci/common.sh
# Only the MS SQL test can be run here, the other ODBC tests are built but
# require the databases which are not available in this job.
LSAN_OPTIONS=suppressions=${SOCI_SOURCE_DIR}/scripts/suppressions/lsan-odbc run_test -R soci_odbc_test_mssql