You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have a workspace package that also has non-workspace path dependencies, the coverage report from cargo llvm-cov --workspace includes the non-workspace sources. I don't know if this is expected or not, but it was surprising to me, and whether it happens is affected by details of the code.
If I have a workspace package that also has non-workspace path dependencies, the coverage report from
cargo llvm-cov --workspace
includes the non-workspace sources. I don't know if this is expected or not, but it was surprising to me, and whether it happens is affected by details of the code.Here's an example project if it helps. The structure this:
The only interesting manifest is
one/Cargo.toml
:If
one
never callstwo
,two
's sources are not included in the report (example project job #4908791850):If
one
DOES calltwo
,two
's sources ARE included (job #4910063504):The totals are a bit variable too - if
one
's tests covertwo
's code, even iftwo
has zero coverage itself, it will be reported as 100% covered.Seems related to #31.
rust:1.71.1-slim
(Debian Bullseye)The text was updated successfully, but these errors were encountered: