At my current company we are using Substrate for our developments, we have an automated setup with test and whatnot. We are now evaulating our options regarding code coverage.
We are thinking of a combination of
codecov since we use Github actions for our CI.
We were wondering though, what recommended setups are there, specially because although substrate code is based on Rust, the specific macro usage in some scenarios makes code coverage analysis a bit more complicated.
Our end goal is to mainly cover our own developed pallets, like so:
--exclude-files node/* primitives/* rpc/* runtime/*
So in the end, my question is: What is the recommended approach for code coverage in Substrate?