fix: unhandled promise rejection on normal disconnect (#722) #813
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: E2E Zombienet Tests / Batch 02 | |
| on: | |
| push: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| merge_group: | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| zombienet-tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [ 18.x ] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'yarn' | |
| - run: yarn install --immutable | |
| - run: yarn build | |
| - run: yarn zombienet-test-preps | |
| - name: Download executables | |
| run: | | |
| curl -L -O https://github.com/paritytech/zombienet/releases/download/v1.3.102/zombienet-linux-x64 | |
| chmod +x zombienet-linux-x64 | |
| curl -L -O https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-v1.7.0/polkadot | |
| chmod +x polkadot | |
| curl -L -O https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-v1.7.0/polkadot-execute-worker | |
| chmod +x polkadot-execute-worker | |
| curl -L -O https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-v1.7.0/polkadot-prepare-worker | |
| chmod +x polkadot-prepare-worker | |
| curl -L -O https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-v1.7.0/polkadot-parachain | |
| chmod +x polkadot-parachain | |
| - name: Run tests on small network | |
| run: | | |
| export PATH=$(pwd):$PATH | |
| export RUST_BACKTRACE=full | |
| ./zombienet-linux-x64 -p native test ./e2e/zombienet/src/0001-small-network-batch-02.zndsl |