A typical answer about how to skip tests in sbt would be:
sbt "set test in assembly := {}"
However when I run for example
sbt publishLocal
Then that approach does not work. Is there a global "disable" tests flag like
maven -Dmaven.skip.test=True
Or if not .. what would be the way to disable tests just for publishLocal ?