Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to skip tests? #1204

Closed
omnipresent07 opened this issue Feb 21, 2019 · 1 comment
Closed

Is there a way to skip tests? #1204

omnipresent07 opened this issue Feb 21, 2019 · 1 comment

Comments

@omnipresent07
Copy link

Expected behaviour

sbt 'set test in Test := {}' -batch hmda-platform/docker:stage does not skip tests

neither does

sbt 'set test in assembly := {}' -batch hmda-platform/docker:stage does not skip tests

Actual behaviour

sbt 'set test in Test := {}' -batch hmda-platform/docker:stage should skip tests

Information

  • What sbt-native-packager are you using
    1.3.2
  • What sbt version
    1.2.0
  • What is your build system (e.g. Ubuntu, MacOS, Windows, Debian )
    Mac
  • What package are you building (e.g. docker, rpm, ...)
    docker
  • What version has your build tool (find out with e.g. rpm --version)
  • What is your target system (e.g. Ubuntu 16.04, CentOS 7)
    Mac
@muuki88
Copy link
Contributor

muuki88 commented Feb 28, 2019

Thanks for your bug report 😄

From your explanation it looks like you are actually using sbt-assembly, which does run tests during assembly if not configured otherwise. sbt-native-packager doesn't configure anything to run tests during build.

@muuki88 muuki88 closed this as completed Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants