Test #30
This file contains 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 CI | |
on: | |
push: | |
branches: [chore/add-zombienet-tests] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: build | |
run: | | |
pnpm install | |
pnpm build | |
- name: Get zombienet | |
run: | | |
curl -L -O https://github.com/paritytech/zombienet/releases/download/v1.3.68/zombienet-linux-x64 | |
chmod +x zombienet-linux-x64 | |
- name: Get polkadot | |
run: | | |
curl -L -O https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-v1.1.0/polkadot | |
chmod +x polkadot | |
- name: Get polkadot execute worker | |
run: | | |
curl -L -O https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-v1.1.0/polkadot-execute-worker | |
chmod +x polkadot-execute-worker | |
- name: Get polkadot prepare worker | |
run: | | |
curl -L -O https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-v1.1.0/polkadot-prepare-worker | |
chmod +x polkadot-prepare-worker | |
- name: Get polkadot-parachain | |
run: | | |
curl -L -O https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-v1.1.0/polkadot-parachain | |
chmod +x polkadot-parachain | |
- name: Run test | |
run: | | |
export PATH=$(pwd):$PATH | |
tsc .zombienet-tests/utils.ts || true | |
./zombienet-linux-x64 -p native test ./.zombienet-tests/0001-relay-smoke-test.zndsl | |
./zombienet-linux-x64 -p native test ./.zombienet-tests/0002-check-balance.zndsl |