on master help sign in
Use only 2 cabal jobs at a time
commit364334e6c1db4b4fd565be0d76bb7be0d7c65fd8 authorHarendra Kumar <harendra@composewell.com> dateThu 31 Dec 2020, 12:52 (6 years ago) parentd6771a2
1 file changed+4−1
.circleci/config.yml+4−1
.circleci/config.yml+4−1
@@ -335,11 +335,14 @@ jobs:
335335 apt-get install -y libcurl4-gnutls-dev
336336 apt-get install -y git
337337 apt-get install libtinfo-dev
338+ # Run tests with coverage
338339 cabal update
340+ cabal user-config update -a "jobs: 2"
341+ bin/test.sh --coverage --raw
342+ # Upload results to coveralls.io
339343 PATH=$HOME/.cabal/bin:$PATH
340344 export PATH
341345 which hpc-coveralls 2>/dev/null || cabal install --project-file cabal.project.hpc-coveralls hpc-coveralls
342− bin/test.sh --coverage --raw
343346 hpc-coveralls --repo-token="$REPO_TOKEN" --coverage-mode=StrictlyFullLines
344347 no_output_timeout: 25m
345348 - *save