Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
1) remove nightly
2) restrict to runtimes
3) Add comment on what the last step does
  • Loading branch information
samelamin committed Sep 11, 2023
1 parent 431d9e5 commit e39bab9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/chopsticks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
target: wasm32-unknown-unknown

- name: Checkout
Expand All @@ -40,12 +39,13 @@ jobs:
run: git clone https://github.com/AcalaNetwork/e2e-tests && yarn --cwd e2e-tests/ && yarn --cwd e2e-tests/ update-env

- name: Build runtimes
run: cargo build --release --locked
run: cargo build --release -p *-runtime --locked

- name: Run e2e tests
env:
KUSAMA_WASM: "../target/release/wbuild/kusama-runtime/kusama_runtime.compact.compressed.wasm"
POLKADOT_WASM: "../target/release/wbuild/polkadot-runtime/polkadot_runtime.compact.compressed.wasm"
STATEMINE_WASM: "../target/release/wbuild/asset-hub-kusama-runtime/asset_hub_kusama_runtime.compact.compressed.wasm"
STATEMINT_WASM: "../target/release/wbuild/asset-hub-polkadot-runtime/asset_hub_polkadot_runtime.compact.compressed.wasm"
# Delete all existing tests and replace with runtime specific tests defined in the chopsticks folder
run: find e2e-tests/tests/ -name '*.test.*' | xargs rm -rf && cp -r chopsticks/* e2e-tests/tests/ && yarn --cwd e2e-tests test

0 comments on commit e39bab9

Please sign in to comment.