Skip to content
name: Chopsticks Battery Station Integration Test
on:
push:
branches: [ main, chralt98-add-it-tests ]
env:
CARGO_TERM_COLOR: always
jobs:
chopsticks_battery_station_upgrade:
name: Test Runtime Upgrade
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install build tools
run: ./scripts/init.sh
- 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/pnpm-lock.yaml"
- name: Install pnpm packages
run: |
cd integration-tests
pnpm install
- name: Cache Dependencies
uses: Swatinem/rust-cache@v1
- name: Test battery station runtime upgrade using Chopsticks
run: |
cd integration-tests
pnpm exec moonwall test chopsticks_battery_station_upgrade