Incremental sbt builds for CI environments.
The plugin introduces a new task
cachedCiTest which calls
testQuick and calls
clean once a day.
Supported sbt version - 1.x.
addSbtPlugin("org.olegych" %% "sbt-cached-ci" % latest_version)
- Configure your CI to cache current directory (preserving full timestamp) and call
cachedCiTesttask, see samples at .travis.yml, .github/workflows/test.yml or .circleci/config.yml
Note that Github support relies on forked cache action (pending actions/cache#233).
CircleCI currently does not support proper caching, please vote here https://ideas.circleci.com/ideas/CCI-I-1453.
Period between full test runs can be configured with
cachedCiTestQuick configures what is executed on every build.
cachedCiTestFull configures what is executed every