Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Chralt98 committed Dec 13, 2023
1 parent 793036a commit af2120b
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 106 deletions.
106 changes: 0 additions & 106 deletions .github/workflows/integration-tests.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/it-chopsticks-battery-station.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
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
41 changes: 41 additions & 0 deletions .github/workflows/it-chopsticks-zeitgeist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Chopsticks Zeitgeist Integration Test

on:
push:
branches: [ main, chralt98-add-it-tests ]

env:
CARGO_TERM_COLOR: always

jobs:
chopsticks_zeitgeist_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 zeitgeist runtime upgrade using Chopsticks
run: |
cd integration-tests
pnpm exec moonwall test chopsticks_zeitgeist_upgrade
42 changes: 42 additions & 0 deletions .github/workflows/it-zombienet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Zombienet Integration Test

on:
push:
branches: [ main, chralt98-add-it-tests ]

env:
CARGO_TERM_COLOR: always

jobs:
zombienet_zndsl:
name: Test ZNDSL Block Production
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: Download polkadot binary
run: ./integration-tests/scripts/download-polkadot.sh

- name: Cache Dependencies
uses: Swatinem/rust-cache@v1

- name: Run ZNDSL integration tests
run: ./integration-tests/scripts/deploy-zombienet.sh --test

0 comments on commit af2120b

Please sign in to comment.