usb_cam
usb_cam copied to clipboard
Run integration tests in CI via renode
- [ ] We can use
renode
to create virtual V4L2 devices in CI - [ ] With those virtual devices, we can write a lot of integration tests / corner cases that we previously couldnt
- [ ] multiple cameras running at once
- [ ] test all supported formats at various frame rates
Today renode only supports arm32
, so we'll need to spin up some background jobs to compile ROS for that arch from source since ROS does not offer precompiled binaries for that architecture. Theoretically it should "just work", but we'll see. The idea I had was to have a CI job build these binaries when new releases happen for each distro, then fetch those as artifacts in the actual test jobs.
See this PR for my initial effort w.r.t renode.
fyi @mgielda hoping to finally get around to this over this weekend. I'll keep you posted on any updates