Reports with git submodules

Description

codecov does not seem to report coverage for files in git submodules

Repository

Versions

Additional Information

We are just starting to setup codecov for our sea ice model application.

Because we need to test in high-performance-computing environments, we do limited testing on TravisCI and comprehensive testing on our own platforms.

Our application contains git submodules. When I run the bash script on the gc output, codecov only reports on coverage from the main repo, not from the submodule repos. It is important that we also see testing coverage in our submodules. Is there a way for codecov to generate those reports? I can see that gcov has generated output from the files in our submodules, it just doesn’t seem to appear on the codecov website.

1 Like