Export PIO unit tests results to sonarqube

Thank you so much for amazing guide! We will spread out it in our social network soon.

What an honor! Thank you so much! :smiling_face_with_three_hearts:

Back to the topic, here are the details. I have a projects that has unit tests. I use pio test, works great. But in this project, “desktop” tests are kind of irrelevant as many of these are tied to the platform. For example, some of these tests a feature that writes to EEPROM.

So I can’t use gcov, as I don’t compile desktop binaries and, AFAIK, can’t generate unit test coverage informations to be sent to SonarQube.

If needed I’d love to provide you with gitlab/sonar access to the mentioned project if for some reason you need to dive further in. Let me know it that option suits you.