Update circleCI to build the tests before running them

This allows

a. caching the build status of the test deps
b. Less clutter on the test run section of the log
This commit is contained in:
Alan Zimmerman 2018-11-27 08:52:24 +02:00
parent 8478b9b309
commit d0fc2cac05

View File

@ -39,9 +39,13 @@ defaults: &defaults
command: stack --stack-yaml=${STACK_FILE} install hoogle
- run:
name: Build
name: Build (we need the exe for tests)
command: stack -j 2 --stack-yaml=${STACK_FILE} install
- run:
name: Build Testsuite without running it
command: stack -j 2 --stack-yaml=${STACK_FILE} build --test --no-run-tests
- store_artifacts:
path: ~/.local/bin
destination: bin