robotology / gz-sim-yarp-plugins

YARP plugins for Modern Gazebo (gz-sim).
BSD 3-Clause "New" or "Revised" License
9 stars 2 forks source link

Add coverage test for forcetorque plugin #21

Closed traversaro closed 1 year ago

GiacomoBisio commented 1 year ago

@traversaro Do you have any advice for the coverage test? Thank you in advance!

traversaro commented 1 year ago

I never setup code coverage integration in our projects, but let's try. For example, an example codebase that integrates coverage is https://github.com/temken/template_cpp_cmake_libphysica .

Let's decompose the practice of doing coverage in some steps:

Again, I do not have a lot of experience on this, so feel free to explore yourself also in other directions.

lucapa17 commented 1 year ago

For the moment we decided to use github actions like https://github.com/threeal/gcovr-action because to use other services like codecov (https://about.codecov.io/) we should configure them, but we don't have the required permissions

traversaro commented 1 year ago

Ok! If you want to test any system just ask and I can add it to the repo.

lucapa17 commented 1 year ago

If possible, we would like to try codecov. Thanks a lot!

traversaro commented 1 year ago

I already completed Step 1, can you give me the mail you used to register to codecov so I can add you?

I signed up with my GitHub account, my mail is lucapastore2000@gmail.com

traversaro commented 1 year ago

I can't find you, did you try to log in codecov at least once?

lucapa17 commented 1 year ago

Yes I did

traversaro commented 1 year ago

Yes I did

Ok, now I see you, you should have the access enabled.