]> Untitled Git - bdk/commitdiff
fix(ci)!: remove `Dockerfile.ledger` and `hwi` steps from coverage step
authorLeonardo Lima <oleonardolima@users.noreply.github.com>
Fri, 16 Aug 2024 01:09:37 +0000 (22:09 -0300)
committerSteve Myers <steve@notmandatory.org>
Wed, 11 Sep 2024 14:47:54 +0000 (09:47 -0500)
.github/workflows/code_coverage.yml
ci/Dockerfile.ledger [deleted file]

index 5a91de04ee0a3eda4cabf1cf5a7e9132a70d287e..613a015d81b3ea18a3d0a86bc0de07626dc90286 100644 (file)
@@ -27,17 +27,6 @@ jobs:
         uses: Swatinem/rust-cache@v2.2.1
       - name: Install grcov
         run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install grcov; fi
-        # TODO: re-enable the hwi tests
-      - name: Build simulator image
-        run: docker build -t hwi/ledger_emulator ./ci -f ci/Dockerfile.ledger
-      - name: Run simulator image
-        run: docker run --name simulator --network=host hwi/ledger_emulator &
-      - name: Install Python
-        uses: actions/setup-python@v4
-        with:
-          python-version: '3.9'
-      - name: Install python dependencies
-        run: pip install hwi==2.1.1 protobuf==3.20.1
       - name: Test
         run: cargo test --all-features
       - name: Make coverage directory
diff --git a/ci/Dockerfile.ledger b/ci/Dockerfile.ledger
deleted file mode 100644 (file)
index fb4c6bc..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# Taken from bitcoindevkit/rust-hwi
-FROM ghcr.io/ledgerhq/speculos
-
-RUN apt-get update
-RUN apt-get install wget -y
-RUN wget "https://github.com/LedgerHQ/speculos/blob/master/apps/nanos%23btc%232.1%231c8db8da.elf?raw=true" -O /speculos/btc.elf
-ADD automation.json /speculos/automation.json
-
-ENTRYPOINT ["python", "./speculos.py", "--automation", "file:automation.json", "--model", "nanos", "--display", "headless", "--vnc-port", "41000", "btc.elf"]