Skip to content

Commit 13a4163

Browse files
WIP try all features?
1 parent 9d758a4 commit 13a4163

File tree

1 file changed

+13
-18
lines changed

1 file changed

+13
-18
lines changed

.github/workflows/code_coverage.yml

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,17 @@ jobs:
1212
LLVM_PROFILE_FILE: "report-%p-%m.profraw"
1313
strategy:
1414
matrix:
15-
features:
16-
- default
17-
- minimal
18-
- all-keys
19-
- minimal,use-esplora-ureq
20-
- key-value-db
21-
- electrum
22-
- compact_filters
23-
- esplora,ureq,key-value-db,electrum
24-
- compiler
25-
- rpc
26-
- verify
27-
- async-interface
28-
- use-esplora-reqwest
29-
- sqlite
30-
- sqlite-bundled
15+
blockchain:
16+
- name: electrum
17+
features: test-electrum,verify
18+
- name: rpc
19+
features: test-rpc
20+
- name: rpc-legacy
21+
features: test-rpc-legacy
22+
- name: esplora
23+
features: test-esplora,use-esplora-reqwest,verify
24+
- name: esplora
25+
features: test-esplora,use-esplora-ureq,verify
3126
steps:
3227
- name: Checkout
3328
uses: actions/checkout@v2
@@ -54,8 +49,8 @@ jobs:
5449
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
5550
- name: Install grcov
5651
run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install grcov; fi
57-
- name: Test ${{ matrix.features }}
58-
run: cargo test --features default,minimal,all-keys,compact_filters,key-value-db,compiler,sqlite,sqlite-bundled,test-electrum,verify,test-rpc
52+
- name: Test ${{ matrix.blockchain.name }}
53+
run: cargo test --features compiler,verify,sqlite,sqlite-bundled,compact_filters,key-value-db,all-keys,keys-bip39,rpc,${{ matrix.blockchain.features }}
5954
- name: Run grcov
6055
run: mkdir coverage; grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '/*' -o ./coverage/lcov.info
6156
- name: Generate HTML coverage report

0 commit comments

Comments
 (0)