Projects / Embedded testing
hil-runner
Diskless, one-job GitHub Actions runners for hardware-in-the-loop tests
hil-runner turns a Raspberry Pi with a test board into a GitHub Actions runner that takes one job and then reboots clean. The Pi netboots from BootBob and runs entirely from RAM, so nothing a job does survives. It runs the dfu-programmer project's tests against a real ATmega8U2.
What it does
- Every job gets a freshly netbooted machine with no disk
- OS image is public and holds no secrets
- Small broker hands out one-job runner configs through a GitHub App
- Each job power-cycles the target AVR into its bootloader first
- Hardware write-protect on boot and ID EEPROMs, kernel holds the ID lines