Only download Mathematica/Wolfram Engine once per workflow #579
Labels
infrastructure
Has to do with changes to the development process, e.g., build scripts, CI, testing utilities
optimization
Does not change functionality but makes code faster
The problem
Due to tests parallelization #578, we are now downloading the docker image with Mathematica 4 times, which is redundant. We should figure out how to only download it once thus saving 3 minutes' worth of credits. If we download it prior to starting the testing job, we will also reduce the workflow duration by 1 minute.
Possible solution
wolfram-engine-download
job which is going to put it into the workspace.Alternative solutions
Circle CI has docker layer caching which might be useful here, however, it is not available on the free plan, and even if it was, it's quite expensive costing more credits than the entire WL testing job.
The text was updated successfully, but these errors were encountered: