phanrahan / magma

magma circuits
Other
239 stars 22 forks source link

[CI] Speed up testing #1295

Open rsetaluri opened 11 months ago

rsetaluri commented 11 months ago

Here are some ideas for speeding up our testing:

leonardt commented 11 months ago

For functional test, one approach is to regress on a representation (depending on the goal, could check magma repr, or MLIR, or verilog). If it changes, run the functional test and update the golds if it passes. This would avoid functional tests in the standard CI, but running those on a schedule may also be worthwhile to detect other changes (e.g. simulator changes affecting the tests).