maxitg / SetReplace

C++/Wolfram Language package for exploring set and graph rewriting systems
MIT License
219 stars 46 forks source link

Parallel WL Tests on CI #578

Closed aokellermann closed 3 years ago

aokellermann commented 3 years ago

Changes

Comments

Currently, we do not have WL test metadata compatible with CircleCI. Therefore, we can't use CircleCI's built-in split-by timing to distribute tests efficiently. This PR simply runs matching and WolframModel (which take the most time by far) each in separate executors, and splits the rest among the last two.

In order to optimize this further, we could:

  1. Distribute tests from matching and WolframModel into separate files.
  2. Implement JUnit XML or Cucumber JSON test result reports for WL and enable split-by timing.

Examples

Parallel executors: image

Test time is reduced by ~10 minutes (over ~2x reduction): image

compared to master: image


This change is Reviewable