From 4b28dbe1bae703b28502525066c125cc39a2adff Mon Sep 17 00:00:00 2001 From: Omkar P <45419097+omkar-foss@users.noreply.github.com> Date: Wed, 25 Sep 2024 14:07:19 +0530 Subject: [PATCH] Finalize working config --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 246b856f..f6bc0da1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -171,7 +171,7 @@ jobs: strategy: matrix: go: ['1.22', '1.21', '1.20'] - platform: [ubuntu-20.04] # can not run test in macOS and windows + platform: [ubuntu-latest] # can not run test in macOS and windows runs-on: ${{ matrix.platform }} services: @@ -185,7 +185,7 @@ jobs: ports: - 9930:1433 options: >- - --health-cmd="/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P LoremIpsum86 -l 30 -Q \"SELECT 1\" || exit 1" + --health-cmd="/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P ${MSSQL_SA_PASSWORD} -N -C -l 30 -Q \"SELECT 1\" || exit 1" --health-start-period 10s --health-interval 10s --health-timeout 5s