Skip to content

Commit

Permalink
Updated check for hardhat node running
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszslabon committed Oct 26, 2023
1 parent 6b87a7d commit 29df52b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
working-directory: ./solidity
run: |
npx hardhat node --no-deploy &
HH_NODE_PID=$!
while ! lsof -n -Fn -p $HH_NODE_PID | grep -q '^n.*:8545$'; do sleep 10; done
while [[ -z $(lsof -i :8545 -t) ]]; do echo "Waiting for port 8545 to be open..."; sleep 10; done
sleep 60
- name: Deploy contracts
working-directory: ./solidity
Expand Down Expand Up @@ -84,8 +84,8 @@ jobs:
working-directory: ./solidity
run: |
npx hardhat node --no-deploy &
HH_NODE_PID=$!
while ! lsof -n -Fn -p $HH_NODE_PID | grep -q '^n.*:8545$'; do sleep 10; done
while [[ -z $(lsof -i :8545 -t) ]]; do echo "Waiting for port 8545 to be open..."; sleep 10; done
sleep 60
- name: Deploy contracts
working-directory: ./solidity
Expand Down

0 comments on commit 29df52b

Please sign in to comment.