-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
124 additions
and
106 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 |
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
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 |
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
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 |