Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Next Next commit
[ci] New try-runtime command
  • Loading branch information
alvicsam committed Dec 15, 2022
commit 7364566ac72630506b506c5c9763e9f533c457fd
6 changes: 5 additions & 1 deletion scripts/ci/gitlab/pipeline/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ check-try-runtime:
echo "Found label runtimemigration. Running tests"
export RUST_LOG=remote-ext=debug,runtime=debug
echo "---------- Running try-runtime for ${NETWORK} ----------"
time cargo run --release --features=try-runtime try-runtime --chain=${NETWORK}-dev --execution=Wasm --no-spec-check-panic on-runtime-upgrade live --uri wss://${NETWORK}-try-runtime-node.parity-chains.parity.io:443
time cargo build --release --feature try-runtime
time cargo run --release --feature try-runtime try-runtime \
--runtime ./target/release/wbuild/runtime.wasm -lruntime=debug \
--chain=${NETWORK}-dev --execution=Wasm --no-spec-check-panic \
on-runtime-upgrade live --uri wss://${NETWORK}-try-runtime-node.parity-chains.parity.io:443
else
echo "runtimemigration label not found. Skipping"
fi
Expand Down