Testing And Automation
Docs path: Operate / Testing And Automation
Run the default test suite without hardware:
cargo test --all-targetsRun the integration tests explicitly:
cargo test --test integrationHardware tests are opt-in and intentionally strict once enabled:
OPENKMS_HARDWARE_TESTS=1 cargo test --test integration -- --ignoredAutomation Lanes
Section titled “Automation Lanes”ci.ymlruns formatting, clippy, tests, docs drift checks, rustdoc, OpenAPI drift checks, and website build checks.remote-e2e.ymlis a manual staging smoke test against a deployed signer.broadcast-e2e.ymlis a manual live testnet broadcast gate.
The E2E wrapper scripts share Solana and Cosmos default resolution through
scripts/e2e_defaults.sh.
Contributor / CI runbooks
Section titled “Contributor / CI runbooks”The two long-form runbooks below are for openKMS contributors and CI
maintainers — they cover GitHub Actions wiring, Tailscale OAuth, gh act
quirks on Docker Desktop / WSL2, throwaway Docker keygen, and devnet funding.
Operator consumers running openKMS for their agent can skip them.
docs/remote-e2e.md— operator procedure forremote-e2e.yml.docs/broadcast-e2e.md— operator procedure forbroadcast-e2e.yml.