Basically what I want is that the Compile compiles everything (including test code, and run unit tests) and then both the next stage just picks up where the compilation left if that makes sense.
I managed to organize the build to do that but:
- either the compilation is re-done in each step or (like restarts)
- by caching the whole
./
the compilation is saved…but then it ignores every new change I push (obviously).
The caching config I am using comes from the sbt documentation:
cache:
directories:
- $HOME/.cache/coursier
- $HOME/.ivy2/cache
- $HOME/.sbt
Any help would be appreciated