diff --git a/.github/workflows/gf.yml b/.github/workflows/gf.yml index ca2ec82f3..5c1bcabce 100644 --- a/.github/workflows/gf.yml +++ b/.github/workflows/gf.yml @@ -28,7 +28,7 @@ jobs: # Redis backend server. redis: image : redis - options: | + options: >- --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s @@ -58,7 +58,7 @@ jobs: ports: - 5432:5432 # Set health checks to wait until postgres has started - options: | + options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s @@ -75,7 +75,7 @@ jobs: MSSQL_PASSWORD: LoremIpsum86 ports: - 1433:1433 - options: | + options: >- --health-cmd="/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P LoremIpsum86 -l 30 -Q \"SELECT 1\" || exit 1" --health-start-period 10s --health-interval 10s