-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add automated testing (via catkin_virtualenv) #136
Add automated testing (via catkin_virtualenv) #136
Conversation
Signed-off-by: Gabriel Gaessler <[email protected]>
Signed-off-by: Gabriel Gaessler <[email protected]>
Signed-off-by: Gabriel Gaessler <[email protected]>
Signed-off-by: Gabriel Gaessler <[email protected]>
Signed-off-by: Gabriel Gaessler <[email protected]>
I'm hoping to finally get a chance to take a look at this PR this week. |
Are there any updates? |
Hey, sorry I took so long to review this. I think it looks good to merge. Thanks for the contribution! |
Unfortunately the automated testing is not working right now since ros-tooling is broken since some days and therefore can't setup a testing environment: ros-tooling/setup-ros#460 |
@evenator please re-run the action via the three dots at the top-right of https://github.com/ros-drivers/nmea_navsat_driver/actions/runs/1646715390. |
@ggaessler Apparently one can only re-run a workflow for 30 days, so I can't re-run that. |
Ok. Thanks for trying. Create a new PR to "re-run" it: #144 |
Since the ROS buildfarm currently doesn't handle PIP test dependencies correctly (ros-infrastructure/ros_buildfarm#895) and there are currently no resources to fix it (neither on OSRF nor on Bosch side) I've changed the PR (#130) to use catkin_virtualenv for the PIP testing dependencies. I preferred the other way, but this way it is still ensured that no PIP dependencies end up in the package.
Porting the first feature from the boschresearch fork back to upstream: testing
Automatically test the code on every push or PR by playing back data to the driver and test whether the expected amount of messages is outputted by the driver and the messages contain the expected data.
The tester can cover more functionality that the current version of the nmea_navsat_driver supports, for these features new PRs will be created. The full usage can be observed in the boschresearch fork.
Warning: Github Actions are not very reliable in combination with ROS right now. The tests sometimes randomly get stale and run into the timeout. In these cases the tests should be re-run manually. Since the test is expected to take less than 5 minutes I've set to timeout to 10 minutes, otherwise it would take the full 6 hours, which is the Github Actions default setting.