usb_cam icon indicating copy to clipboard operation
usb_cam copied to clipboard

Run integration tests in CI via renode

Open flynneva opened this issue 1 year ago • 1 comments

  1. [ ] We can use renode to create virtual V4L2 devices in CI
  2. [ ] With those virtual devices, we can write a lot of integration tests / corner cases that we previously couldnt
    1. [ ] multiple cameras running at once
    2. [ ] 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.

flynneva avatar Nov 04 '23 17:11 flynneva

fyi @mgielda hoping to finally get around to this over this weekend. I'll keep you posted on any updates

flynneva avatar Nov 04 '23 17:11 flynneva