Skip to content

Commit 35a8003

Browse files
committed
ci: run functional tests both under Taproot and P2WSH
1 parent 43e7c44 commit 35a8003

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.cirrus.yml

+13-1
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,19 @@ task:
1616
matrix:
1717
- USE_MIN_BITCOIN_VERSION: 'TRUE'
1818
- USE_MIN_BITCOIN_VERSION: 'FALSE'
19+
- USE_TAPROOT: 1
1920
- name: 'RPC functional tests'
2021
env:
2122
TEST_GROUP: tests/test_rpc.py
23+
matrix:
24+
- USE_TAPROOT: 0
25+
- USE_TAPROOT: 1
2226
- name: 'Chain functional tests'
2327
env:
2428
TEST_GROUP: tests/test_chain.py
29+
matrix:
30+
- USE_TAPROOT: 0
31+
- USE_TAPROOT: 1
2532

2633
cargo_registry_cache:
2734
folders: $CARGO_HOME/registry
@@ -34,7 +41,12 @@ task:
3441
fingerprint_script:
3542
- rustc --version
3643
- cat Cargo.lock
37-
lianad_build_script: cargo build --release
44+
tests_tools_cache:
45+
folder: tests/tools/taproot_signer/target
46+
fingerprint_script:
47+
- rustc --version
48+
- cat tests/tools/taproot_signer/Cargo.lock
49+
lianad_build_script: cargo build --release && test "$USE_TAPROOT" -eq "1" && (cd tests/tools/taproot_signer && cargo build --release)
3850

3951
deps_script: apt update && apt install -y python3 python3-pip
4052

0 commit comments

Comments
 (0)