I don’t know a good answer right now, but the idea sounds interesting.
Could you point me to some references, how the coverage is tested in other projects?
I know, that torchvision uses codecov 9 for the PRs, but I’m unsure if you are looking for this approach or another one.