ESPSomfy-RTS/gcovr.cfg
cjkas bd399db73d ci: coverage reports for the native and web UI tests
A coverage env (the native env with gcov counters) runs the native
tests in CI; gcovr writes the HTML report and a table on the run's
summary page. The web UI tests report coverage with Node's built-in
coverage, and genhtml turns its lcov into HTML. Both reports are run
artifacts, and pushes to main publish them to GitHub Pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 12:07:58 +01:00

9 lines
350 B
INI

# Coverage of the native tests: pio test -e coverage, then gcovr.
# Only the files the native env builds show up (build_src_filter);
# the rest of src/ needs the ESP32 and isn't measured.
filter = src/
object-directory = .pio/build/coverage
sort = uncovered-percent
print-summary = yes
html-title = ESPSomfy-RTS native tests
html-details = coverage/