File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,29 @@ test-features:
3030 script :
3131 - cargo test --all --all-features --all-targets --locked
3232
33+ # TODO: The try-runtime-cli executable could be built as part of the Docker image directly, saving some time.
34+ test-try-runtime :
35+ parallel :
36+ matrix :
37+ - RUNTIME : " peregrine"
38+ ENDPOINT : " wss://peregrine.kilt.io:443"
39+ - RUNTIME : " spiritnet"
40+ ENDPOINT : " wss://spiritnet.kilt.io:443"
41+ timeout : 2 hours
42+ image : paritytech/ci-unified:bullseye-1.70.0
43+ stage : test
44+ variables :
45+ TRY_RUNTIME_CLI_VERSION_TAG : v0.6.1
46+ script :
47+ - curl -sL https://github.com/paritytech/try-runtime-cli/releases/download/${TRY_RUNTIME_CLI_VERSION_TAG}/try-runtime-x86_64-unknown-linux-musl -o try-runtime
48+ - chmod +x ./try-runtime
49+ - ./try-runtime --version
50+ - cargo build --locked --release -p ${RUNTIME}-runtime --features try-runtime
51+ - ./try-runtime --runtime ./target/release/wbuild/${RUNTIME}-runtime/${RUNTIME}_runtime.compact.compressed.wasm on-runtime-upgrade --disable-spec-version-check --checks=all live --uri=${ENDPOINT}
52+ - echo "try-runtime with all checks exited successfully."
53+ - ./try-runtime --runtime ./target/release/wbuild/${RUNTIME}-runtime/${RUNTIME}_runtime.compact.compressed.wasm on-runtime-upgrade --disable-spec-version-check live --uri=${ENDPOINT}
54+ - echo "try-runtime with pre and post checks exited successfully."
55+
3356build :
3457 timeout : 2 hours
3558 image :
You can’t perform that action at this time.
0 commit comments