Skip to content

Commit

Permalink
add xcm tests to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Chralt98 committed Dec 19, 2023
1 parent 2ef912a commit 695e52a
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,4 +259,44 @@ jobs:
pnpm exec moonwall test chopsticks_zeitgeist_upgrade
ls -R integration-tests/tmp/node_logs/
cat integration-tests/tmp/node_logs/*.log
chopsticks_zeitgeist_hydradx_xcm_tests:
name: Chopsticks Zeitgeist HydraDX XCM Tests
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 integration-tests/tmp
mkdir -p integration-tests/tmp/node_logs
- name: Test zeitgeist xcm tests using Chopsticks
run: |
cd integration-tests
pnpm exec moonwall test chopsticks_zeitgeist_hydra_xcm_transfer
ls -R integration-tests/tmp/node_logs/
cat integration-tests/tmp/node_logs/*.log

0 comments on commit 695e52a

Please sign in to comment.