tinygo-org / drivers

TinyGo drivers for sensors, displays, wireless adaptors, and other devices that use I2C, SPI, GPIO, ADC, and UART interfaces.
https://tinygo.org
BSD 3-Clause "New" or "Revised" License
587 stars 180 forks source link

ci: run smoke tests in parallel #563

Closed aykevl closed 1 year ago

aykevl commented 1 year ago

This speeds up the smoke tests by over 5x on my laptop, but keeps two features that I find very important:

  1. A stable output, which is used by tools like sizediff.
  2. An easy to change text file with all the smoke tests.

This means that parsing is a little bit harder, but with the help of packages like shlex and flag this is actually not very difficult.

(This should also help https://github.com/tinygo-org/tinygo/pull/3687, which is currently very slow).

deadprogram commented 1 year ago

It cuts the time to do the tests in half, so yes! Now merging, thanks for improving this @aykevl