-
Notifications
You must be signed in to change notification settings - Fork 841
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
stack build --enable-tests #568
Comments
There's stack test --no-run-tests, which should do what you want. On Sun, Jul 12, 2015, 7:39 AM Daniel Patterson notifications@github.com
|
@snoyberg Was that added since 1.2.0? It isn't recognized as a command for me (and isn't in the options printed by |
Yes. stack lives deeply on the bleeding edge :). See #517 for when this was added. |
Ahh, I see. I'll look out for it in the next release :) Overall, stack is great! |
Thanks! On Sun, Jul 12, 2015 at 8:29 AM Daniel Patterson notifications@github.com
|
I'm using stack for a project, and having it run the test suite on CircleCI (the config file is here, if anyone else wants it: https://gist.github.com/dbp/bef96402ea07001dfed2).
One issue is that the caching mechanism runs before the test suite runs. This generally makes sense, but it is a problem with how stack handles test suites. In particular,
stack build
doesn't install libraries needed for the test suite, onlystack test
does.Is there a way to install test dependencies without running the test suite?
The text was updated successfully, but these errors were encountered: