Workflow file for this run
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: Integration test | |
on: | |
push: | |
branches: [ main, chralt98-add-it-tests ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
zombienet_zndsl: | |
name: Zombienet ZNDSL Block Production | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install build tools | |
run: ./scripts/init.sh | |
- name: Move to integration-tests | |
run: cd integration-tests | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
cache: "pnpm" | |
cache-dependency-path: "integration-tests" | |
- name: Install pnpm packages | |
run: pnpm install | |
- name: Download polkadot binary | |
run: ./scripts/download-polkadot.sh | |
- name: Cache Dependencies | |
uses: Swatinem/rust-cache@v1 | |
- name: Run ZNDSL integration tests | |
run: ./scripts/deploy-zombienet.sh --test | |
chopsticks_zeitgeist_upgrade: | |
name: Zeitgeist Chopsticks Runtime Upgrade | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install build tools | |
run: ./scripts/init.sh | |
- name: Move to integration-tests | |
run: cd integration-tests | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
cache: "pnpm" | |
cache-dependency-path: "integration-tests" | |
- name: Install pnpm packages | |
run: pnpm install | |
- name: Cache Dependencies | |
uses: Swatinem/rust-cache@v1 | |
- name: Test zeitgeist runtime upgrade using Chopsticks | |
run: pnpm exec moonwall test chopsticks_zeitgeist_upgrade | |
chopsticks_battery_station_upgrade: | |
name: Battery Station Chopsticks Runtime Upgrade | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install build tools | |
run: ./scripts/init.sh | |
- name: Move to integration-tests | |
run: cd integration-tests | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
cache: "pnpm" | |
cache-dependency-path: "integration-tests" | |
- name: Install pnpm packages | |
run: pnpm install | |
- name: Cache Dependencies | |
uses: Swatinem/rust-cache@v1 | |
- name: Test battery station runtime upgrade using Chopsticks | |
run: pnpm exec moonwall test chopsticks_battery_station_upgrade |