diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7486454..cc5f488 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: '^1.18' @@ -22,6 +22,12 @@ jobs: run: | docker compose -f docker-compose.yml up -d + - name: verbose services + # ensure all services is up + run: | + sleep 60 + docker compose --file docker-compose.yml ps -a + - name: init test database run: | docker compose -f docker-compose.yml exec openmldb-ns1 /opt/openmldb/bin/openmldb --zk_cluster=openmldb-zk:2181 --zk_root_path=/openmldb --role=sql_client --cmd 'CREATE DATABASE test_db'