docker run -it --rm --security-opt seccomp=unconfined celeo/rust_and_kcov- Launch a container
- Clone your git repo somewhere
- Run
cargo test --no-runin the project directory - Run
kcov cov --exclude-pattern=/.cargo target/debug/your_project_namein the project directory
Uploading coverage to CodeCov can be then done with bash <(curl -s https://codecov.io/bash) -s cov.