Skip to content

stack build --enable-tests #568

@dbp

Description

@dbp

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, only stack test does.

Is there a way to install test dependencies without running the test suite?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions