-
-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tarpaulin not reporting per-package coverage in workspaces? #1185
Comments
You should be able to do it by just cd'ing into the package and running |
Ah; the |
cd mypackage # workspace member
cargo tarpaulin --exclude-files ../* -p appsuite-mypackage That does not work in my case. It reports coverage for all packages (even non workspace members as it seems the workspace's
|
I'm seeing a regression here; if I run |
Same here - I tried my things but still I cannot get only the coverage for a single package in a multi-package workspace. I am using cargo-tarpaulin-tarpaulin 0.31.4. |
My workspace has about 30 packages and I am trying to report coverage per-package in the workspace but right now if I run tarpaulin on a single package, either via
cargo tarpaulin -p package1
or by runningcargo tarpaulin
in the package directory, it reports coverage numbers for all the other packages, and so the resulting the coverage numbers reported are very low.Is there a way to have coverage reported for only the package on which it is invoked?
The text was updated successfully, but these errors were encountered: