Skip to content

Commit

Permalink
Remove background execution
Browse files Browse the repository at this point in the history
  • Loading branch information
ntn-x2 committed Dec 4, 2023
1 parent 426105a commit 1f6172d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:
- name: Set environment variables
run: cat ./tests/.env.test >> $GITHUB_ENV
- name: Spin up network (in the background)
run: yarn test:e2e:start-network >> $GITHUB_OUTPUT &
run: yarn test:e2e:start-network >> $GITHUB_OUTPUT
id: zombienet_setup
# This is necessary since the `zombienet spawn` process never exits.
- name: Wait until nodes are reachable on their WS port
run: until (nc -w 3 127.0.0.1 ${{ env.RELAY_ALICE_RPC }} && nc -w 3 127.0.0.1 ${{ env.PROVIDER_ALICE_RPC }} && nc -w 3 127.0.0.1 ${{ env.CONSUMER_ALICE_RPC }}) ; do tail -n 50 ${{ steps.zombienet_setup.outputs.* }} && sleep 1; done
- name: Run integration tests
run: yarn test:e2e
# # This is necessary since the `zombienet spawn` process never exits.
# - name: Wait until nodes are reachable on their WS port
# run: until (nc -w 3 127.0.0.1 ${{ env.RELAY_ALICE_RPC }} && nc -w 3 127.0.0.1 ${{ env.PROVIDER_ALICE_RPC }} && nc -w 3 127.0.0.1 ${{ env.CONSUMER_ALICE_RPC }}) ; do tail -n 50 ${{ steps.zombienet_setup.outputs.* }} && sleep 1; done
# - name: Run integration tests
# run: yarn test:e2e

0 comments on commit 1f6172d

Please sign in to comment.