diff --git a/.github/workflows/bindings-ts.yml b/.github/workflows/bindings-ts.yml index e39ca35b3..f84019bcc 100644 --- a/.github/workflows/bindings-ts.yml +++ b/.github/workflows/bindings-ts.yml @@ -46,13 +46,16 @@ jobs: colima start - name: Run quickstart run: | - docker run -d --name quickstart stellar/quickstart:testing \ + docker run -d --name quickstart \ -p 8000:8000 -e ENABLE_LOGS=true -e NETWORK=local -e ENABLE_SOROBAN_RPC=true \ --health-cmd "curl --no-progress-meter --fail-with-body -X POST \"http://localhost:8000/soroban/rpc\" -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"id\":8675309,\"method\":\"getNetwork\"}' && curl --no-progress-meter \"http://localhost:8000/friendbot\" | grep '\"invalid_field\": \"addr\"'" \ --health-interval 10s \ --health-timeout 5s \ - --health-retries 50 - - run: docker inspect quickstart + --health-retries 50 \ + stellar/quickstart:testing + until [ "`docker inspect -f {{.State.Health.Status}} quickstart`"=="healthy" ]; do + sleep 0.1; + done; - run: rustup update - run: cargo build - run: rustup target add wasm32-unknown-unknown