-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
The old script scripts/test.sh is a multi-headed monster. It can run tests on many platforms. While it might be convenient to have a one-stop for everything, it is redoing many things. For example, it is not uncommon that our C++ code is built multiple times during one invocation. Our current CI set up relies on the script.
The script predates much functionality found in npm today. By splitting the script into smaller but specialized scripts and use more on npm's functionality, our CI set up can be simplified.
By reusing a build from a previous step on CI, we will be closer to test what our users are consuming. Moreover, by reusing builds, we will reduce CI time.