build: Use coverage only in src/ directory

We are only interested in seeing the coverage of the main code, not the
coverage of tests or other irrelevant code.