diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8763d8817..432f87563 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-latest] # can not run test in macOS and windows + platform: [ubuntu-20.04] # can not run test in macOS and windows runs-on: ${{ matrix.platform }} services: @@ -186,7 +186,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 LoremIpsum86 -N -C -l 30 -Q \"SELECT 1\" || exit 1" --health-start-period 10s --health-interval 10s --health-timeout 5s