Skip to content

Commit 79fde90

Browse files
committed
fix: exclude integration-tests from coverage
Remove --all-features from coverage commands to prevent integration tests from running during coverage generation. Integration tests require credentials from .env file which doesn't exist in CI.
1 parent 3dc95f3 commit 79fde90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ coverage:
8181
export LOGLEVEL=WARN
8282
cargo install cargo-tarpaulin
8383
mkdir -p coverage
84-
cargo tarpaulin --verbose --all-features --workspace --timeout 0 --out Xml
84+
cargo tarpaulin --verbose --workspace --timeout 0 --out Xml
8585

8686
.PHONY: coverage-html
8787
coverage-html:
8888
export LOGLEVEL=WARN
8989
cargo install cargo-tarpaulin
9090
mkdir -p coverage
91-
cargo tarpaulin --color Always --engine llvm --tests --all-targets --all-features --workspace --timeout 0 --out Html
91+
cargo tarpaulin --color Always --engine llvm --tests --all-targets --workspace --timeout 0 --out Html
9292

9393
.PHONY: open-coverage
9494
open-coverage:

0 commit comments

Comments
 (0)