zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.14k stars 6.22k forks source link

Investigate code coverage checks in CI #60317

Open keith-zephyr opened 1 year ago

keith-zephyr commented 1 year ago

The CI needs to report the code coverage of the modified lines of code from a PR.

This will encourage PR authors to write more unit tests. Eventually the project should enforce code coverage requirements.

Currently code coverage is run on a schedule, instead of with every PR.

keith-zephyr commented 3 weeks ago

Moving to the testing WG.