diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b8fc6046..02c57ec5 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -92,7 +92,7 @@ jobs: path: target/debug/deps key: test-cache-${{ github.run_id }}-${{ github.run_number }} - name: Start environment - run: docker-compose --profile oracle up -d + run: docker-compose --profile oracle up - name: Wait for container to run run: ./scripts/wait_for_container.sh oracle-server - name: Wait for electrs to be ready diff --git a/scripts/wait_for_container.sh b/scripts/wait_for_container.sh index 30cb66f9..d9d1757c 100755 --- a/scripts/wait_for_container.sh +++ b/scripts/wait_for_container.sh @@ -1,5 +1,6 @@ #!/bin/bash while [ "`docker inspect -f {{.State.Status}} $1`" != "running" ]; do + echo `docker inspect -f {{.State.Status}} $1` sleep 2; done