SBT - command line override scalaVersion set in build.sbt

Viewed 21

In our CI/CD pipeline we use sbt +test to run the unit tests for each scalaVersion defined in our build.sbt. Is it possible to specify the scalaVersion in that command? I would like to update our CI/CD pipeline to be more granular and run the unit tests for each scalaVersion in a separate job so it's both faster (tests for scalaVersions run in parallel) and easier to tell what tests failed for which scala version

0 Answers
Related