Feat: add stellar ledger as signer #2205
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ledger Emulator Tests | |
on: | |
push: | |
branches: [main, release/**] | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref_protected == 'true' && github.sha || github.ref }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
emulator-tests: | |
runs-on: ubuntu-latest | |
env: | |
CI_TESTS: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: stellar/actions/rust-cache@main | |
- name: install libudev-dev & libdbus-1-dev | |
run: | | |
sudo apt install -y libudev-dev libdbus-1-dev | |
- run: | | |
cargo test --manifest-path cmd/crates/stellar-ledger/Cargo.toml --features "emulator-tests" -- --nocapture | |
- run: cargo build --features emulator-tests | |
- run: | | |
cargo test --features emulator-tests --package soroban-test --test it -- emulator |