The code is built in /usr/src/profanity/ inside Docker, so
excluding '/usr/*' removes all source files!
Fix: exclude only system headers/libs (/usr/include/*, /usr/lib/*),
not the entire /usr/ tree.
Also add --ignore-errors empty to handle edge cases.
- Add --enable-coverage option to configure.ac
- Add coverage and coverage-html targets to Makefile.am
- Add coverage CI job with Codecov upload
- Add lcov to all Dockerfiles (arch, debian, fedora, tumbleweed, ubuntu)
Usage:
./configure --enable-coverage
make check
make coverage-html