Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Chralt98 committed Dec 14, 2023
1 parent 2fdadb2 commit 3882a1d
Showing 1 changed file with 58 additions and 1 deletion.
59 changes: 58 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,64 @@ jobs:
working-directory: target/

- name: Run ZNDSL integration tests
run: ./integration-tests/scripts/deploy-zombienet.sh --test
run: |
cd integration-tests
./scripts/download-polkadot.sh
./scripts/deploy-zombienet.sh --test
zombienet_zeitgeist_upgrade:
name: Zombienet Zeitgeist Runtime Upgrade
runs-on: ubuntu-20.04
needs: ["build_parachain"]
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: Create local folders
run: |
mkdir -p target/release/wbuild/battery-station-runtime/
mkdir -p integration-tests/tmp
- name: Download runtime
uses: actions/download-artifact@v3.0.2
with:
name: runtimes
path: target/release/wbuild/battery-station-runtime/

- name: Download binary
uses: actions/download-artifact@v3.0.2
with:
name: binaries
path: target/release/zeitgeist

- name: Display structure of downloaded files
run: ls -R
working-directory: target/

- name: Test zeitgeist runtime upgrade using Zombienet
run: |
cd integration-tests
pnpm exec moonwall test zombienet_zeitgeist_upgrade
chopsticks_battery_station_upgrade:
name: Runtime Upgrade Battery Station
Expand Down

0 comments on commit 3882a1d

Please sign in to comment.