#1682: fix unit tests #2018
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 | |
run: | | |
sudo apt install -y libudev-dev | |
- run: | | |
cargo test --manifest-path cmd/crates/stellar-ledger/Cargo.toml --features "emulator-tests" -- --nocapture |