mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-10-31 13:52:15 +01:00
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>
9 lines
350 B
INI
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/
|