Skip to content

Commit

Permalink
ci: add cfg(coverage)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwkwc committed Apr 16, 2024
1 parent 3aca9a4 commit f0451cd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ lint:

.PHONY: test
test:
cargo llvm-cov
cargo llvm-cov --all-features
cargo llvm-cov report --lcov --output-path lcov.info
cargo llvm-cov report --html

Expand Down
2 changes: 2 additions & 0 deletions src/interaction.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]

use chrono::Local;
use dialoguer::{theme::ColorfulTheme, Confirm, Input, Select};
use mockall::automock;
Expand Down
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]

use clap::Parser;
use dialoguer::{theme::ColorfulTheme, Select};

Expand Down

0 comments on commit f0451cd

Please sign in to comment.