Skip to content

Commit

Permalink
[CI] Use custom image for bitcoin from achow101's branch with MuSig2 …
Browse files Browse the repository at this point in the history
…support
  • Loading branch information
bigspider committed Nov 7, 2024
1 parent 0a4f7ac commit 02ed919
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_and_functional_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ on:
jobs:
build_application:
name: Build application using the reusable workflow
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@container-image
with:
upload_app_binaries_artifact: "compiled_app_binaries"
flags: "DEBUG=0 COIN=bitcoin_testnet"

ragger_tests:
name: Run ragger tests using the reusable workflow
needs: build_application
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_tests.yml@v1
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_tests.yml@container-image
with:
download_app_binaries_artifact: "compiled_app_binaries"

container_image: "ghcr.io/ledgerhq/app-bitcoin-new/speculos-bitcoin-musig2:latest"
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def run_bitcoind():
# Run bitcoind in a separate folder
os.makedirs(BITCOIN_DIRNAME, exist_ok=True)

bitcoind = os.getenv("BITCOIND", "/bitcoin/bin/bitcoind")
bitcoind = os.getenv("BITCOIND", "bitcoind")

shutil.copy(os.path.join(os.path.dirname(__file__),
"bitcoin.conf"), BITCOIN_DIRNAME)
Expand Down

0 comments on commit 02ed919

Please sign in to comment.