From 35a8003840767392542a4c4f7cd0b9ae5fcd9580 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Tue, 27 Feb 2024 16:09:07 +0100 Subject: [PATCH] ci: run functional tests both under Taproot and P2WSH --- .cirrus.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 4c420593c..67b7da639 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -16,12 +16,19 @@ task: matrix: - USE_MIN_BITCOIN_VERSION: 'TRUE' - USE_MIN_BITCOIN_VERSION: 'FALSE' + - USE_TAPROOT: 1 - name: 'RPC functional tests' env: TEST_GROUP: tests/test_rpc.py + matrix: + - USE_TAPROOT: 0 + - USE_TAPROOT: 1 - name: 'Chain functional tests' env: TEST_GROUP: tests/test_chain.py + matrix: + - USE_TAPROOT: 0 + - USE_TAPROOT: 1 cargo_registry_cache: folders: $CARGO_HOME/registry @@ -34,7 +41,12 @@ task: fingerprint_script: - rustc --version - cat Cargo.lock - lianad_build_script: cargo build --release + tests_tools_cache: + folder: tests/tools/taproot_signer/target + fingerprint_script: + - rustc --version + - cat tests/tools/taproot_signer/Cargo.lock + lianad_build_script: cargo build --release && test "$USE_TAPROOT" -eq "1" && (cd tests/tools/taproot_signer && cargo build --release) deps_script: apt update && apt install -y python3 python3-pip