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

no-run-tests in stack.yaml does nothing #4044

Closed
pacak opened this issue May 28, 2018 · 2 comments
Closed

no-run-tests in stack.yaml does nothing #4044

pacak opened this issue May 28, 2018 · 2 comments

Comments

@pacak
Copy link

pacak commented May 28, 2018

https://github.com/commercialhaskell/stack/blob/master/doc/yaml_configuration.md suggests that it's possible to disable running tests after building them however

having

build:
  test-arguments:
    no-run-tests: true

or

build:
  test-arguments:
    no-run-tests: false

inside stack.yaml does nothing: stack build foo:test results in compiling test executable (expected) and running it (unexpected).

@mattaudesse
Copy link
Member

I've experimented with this a bit using the stack repo itself as a test subject and I agree it seems like the expected behavior is ignored right now.

I'll see if I can pin down what's (not) happening and why.

Thanks for the bug report @pacak.

@snoyberg
Copy link
Contributor

snoyberg commented Apr 2, 2019

This appears to be working on master and 1.9.3, I cannot reproduce. I'm adding an integration test to ensure this continues to work and closing. If you have a repro against Stack master or 1.9.3, please comment.

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

3 participants