diff --git a/.github/workflows/temp-ledger-emulator.yml b/.github/workflows/temp-ledger-emulator.yml new file mode 100644 index 0000000000..f8b82b2bd3 --- /dev/null +++ b/.github/workflows/temp-ledger-emulator.yml @@ -0,0 +1,30 @@ +name: Temporary Ledger Emulator Tests +on: + push: + branches: + - AhaLabs:fix/troubleshooting-emulator-tests + pull_request: + branches: + - AhaLabs:fix/troubleshooting-emulator-tests + +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@v3 + - 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