From aa0ea6aeff474a9934d4e9eb6e14ea1667573fc5 Mon Sep 17 00:00:00 2001 From: Daniela Brozzoni Date: Sat, 10 Sep 2022 15:19:08 +0200 Subject: [PATCH] codecov: warn about missing features --- .github/workflows/code_coverage.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/code_coverage.yml b/.github/workflows/code_coverage.yml index f0408b43..b53c47a6 100644 --- a/.github/workflows/code_coverage.yml +++ b/.github/workflows/code_coverage.yml @@ -38,6 +38,12 @@ jobs: - name: Install grcov run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install grcov; fi - name: Test + # WARNING: this is not testing the following features: test-esplora, test-hardware-signer, async-interface + # This is because some of our features are mutually exclusive, and generating various reports and + # merging them doesn't seem to be working very well. + # For more info, see: + # - https://github.com/bitcoindevkit/bdk/issues/696 + # - https://github.com/bitcoindevkit/bdk/pull/748#issuecomment-1242721040 run: cargo test --features all-keys,compact_filters,compiler,key-value-db,sqlite,sqlite-bundled,test-electrum,test-rpc,verify - name: Run grcov run: mkdir coverage; grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '/*' -o ./coverage/lcov.info