Skip to content

Test

Test #41

Workflow file for this run

name: E2E Zombienet CI
on:
push:
branches: [chore/add-zombienet-tests]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.3
- 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-storage.zndsl