From 5f00974dc4997d9c84ca3700b9e9164ed7aec380 Mon Sep 17 00:00:00 2001 From: ganeshvanahalli Date: Thu, 12 Oct 2023 16:02:33 -0500 Subject: [PATCH] use run-nitro-test-node action impl --- .github/workflows/docker.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 028790fd86..d4062cdd47 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -59,16 +59,17 @@ jobs: cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max - - name: Start nitro-testnode and wait for rpc to come up + - name: Start background nitro-testnode and wait for rpc to come up shell: bash run: | cd nitro-testnode ./test-node.bash --init --dev & - jobid=$! - cd .. + + - name: Wait for rpc to come up + shell: bash + run: | ${{ github.workspace }}/.github/workflows/waitForNitro.sh - kill -s SIGKILL $jobid - + - name: Print WAVM module root id: module-root run: |