Skip to content

Commit 88d9e0c

Browse files
committed
ci: fix coverage feature
1 parent d9590c4 commit 88d9e0c

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.github/workflows/codecov.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
- uses: taiki-e/install-action@nextest
2828
- name: Collect coverage data (including doctests)
2929
run: |
30-
RUSTFLAGS="--cfg=coverage_nightly" cargo +nightly llvm-cov --no-report nextest --workspace --all-features
31-
RUSTFLAGS="--cfg=coverage_nightly" cargo +nightly llvm-cov --no-report --doc --workspace --all-features
32-
RUSTFLAGS="--cfg=coverage_nightly" cargo +nightly llvm-cov report --doctests --lcov --output-path lcov.info
30+
cargo +nightly llvm-cov --no-report nextest --workspace --all-features
31+
cargo +nightly llvm-cov --no-report --doc --workspace --all-features
32+
cargo +nightly llvm-cov report --doctests --lcov --output-path lcov.info
3333
- name: Upload coverage data to codecov
3434
uses: codecov/codecov-action@v4
3535
with:

commit_verify/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
non_snake_case
3838
)]
3939
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
40+
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
4041

4142
//! Standard cryptographic commitment library, created and supported by the
4243
//! LNP/BP Labs.

single_use_seals/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
#![deny(missing_docs)]
2727
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
28+
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
2829
#![cfg_attr(not(feature = "strict_encoding"), no_std)]
2930

3031
//! # Single-use-seals

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
missing_docs
3535
)]
3636
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
37+
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
3738

3839
//! The LNP/BP client-side-validation foundation libraries implementing LNPBP
3940
//! specifications & standards (LNPBP-4, 7, 8, 9, 81).

0 commit comments

Comments
 (0)