This action uses try-runtime-cli
to test your runtime migrations.
It will expect to have a snapshot passed as an argument and otherwise will take it for you if it doesn't exists yet.
Required URL of the node to take a snapshot from.
Path to a previsouly taken snapshot, if doesn't exists we will create it.
Required Path to a try-runtime enabled runtime to test migrations for.
You runtime must be compiled with
try-runtime
turned on.
Checks to run, default to all
.
Cmd line options for try-runtime for instance options: "--disable-idempotency-checks"
uses: NodleCode/action-try-runtime
with:
url: 'https://rpc.nodleprotocol.io'
runtime: 'path/to/runtime.wasm'
- name: Run try-runtime
uses: NodleCode/action-try-runtime@v0.5.1
with:
url: 'https://rpc.nodleprotocol.io'
snap: snapshots/eden-snapshot-full
runtime: try_runtime/runtime_eden.wasm
checks: "all"
options: "--disable-idempotency-checks"