Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/ledger-emulator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
CI_TESTS: true
TEST_THREADS: ${{ contains(matrix.sys, 'macos') && '--test-threads=1' || '' }} # macOS has limited resources, so we run tests (that rely on `testcontainers`) with 1 thread
steps:
- uses: stellar/quickstart@main
with:
tag: future
Comment thread
fnando marked this conversation as resolved.
- uses: actions/checkout@v6

- uses: stellar/actions/rust-cache@main
Expand Down Expand Up @@ -67,6 +70,8 @@ jobs:
run: sudo apt update && sudo apt install -y libudev-dev libdbus-1-dev
if: runner.os == 'Linux'

- run: RUST_BACKTRACE=1 make build-test-wasms

- run: RUST_BACKTRACE=1 cargo test --manifest-path cmd/crates/stellar-ledger/Cargo.toml --features "emulator-tests" -- --nocapture $TEST_THREADS

- run: RUST_BACKTRACE=1 cargo build --features emulator-tests,additional-libs
Expand Down
7 changes: 7 additions & 0 deletions cmd/crates/soroban-test/tests/it/emulator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@ async fn invoke_auth_with_ledger_identity(ledger_device_model: &str, hd_path: u3
.assert()
.success();

sandbox
.new_assert_cmd("keys")
.arg("fund")
.arg("testone")
.assert()
.success();

let addr = sandbox
.new_assert_cmd("keys")
.arg("address")
Expand Down
Loading