Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Commit dc620d0

Browse files
committed
Ignore integration tests in coverage
1 parent 000bfa1 commit dc620d0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ args = [
8686
"llvm-cov",
8787
"${TEST_FRAMEWORK}",
8888
"--all-features",
89-
"--no-report"
89+
"--no-report",
90+
"--ignore-filename-regex",
91+
"*_integration.rs",
9092
]
9193

9294
[tasks._calculated-coverage-clean]
@@ -112,6 +114,8 @@ args = [
112114
"report",
113115
"--output-path=${COVERAGE_LCOV}",
114116
"--lcov",
117+
"--ignore-filename-regex",
118+
"*_integration.rs",
115119
]
116120

117121
[tasks.coverage-html]
@@ -127,6 +131,8 @@ args = [
127131
"report",
128132
"--output-dir=${COVERAGE_HTML_DIR}",
129133
"--html",
134+
"--ignore-filename-regex",
135+
"*_integration.rs",
130136
]
131137

132138
[tasks.coverage-all]

0 commit comments

Comments
 (0)