Use a separate project file for hpc-coveralls
It would be helpful to run bin/test.sh locally without having to install
dependencies of hpc-coveralls. Instead we can install hpc-coveralls
independently and use it after installing it once.
commita2330bfb745eeddc5f90ebcc8cd9fa8190853aee
authorHarendra Kumar <harendra@composewell.com>
dateMon 28 Dec 2020, 16:56 (6 years ago)
parentf25a1dd
.circleci/config.yml+1−1
@@ -338,7 +338,7 @@ jobs:
338338 cabal update
339339 PATH=$HOME/.cabal/bin:$PATH
340340 export PATH
341− which hpc-coveralls 2>/dev/null || cabal install --project-file cabal.project.coverage hpc-coveralls
341+ which hpc-coveralls 2>/dev/null || cabal install --project-file cabal.project.hpc-coveralls hpc-coveralls
342342 bin/test.sh --coverage --raw
343343 hpc-coveralls --repo-token="$REPO_TOKEN" --coverage-mode=StrictlyFullLines
344344 no_output_timeout: 25m
.packcheck.ignore+1
@@ -1,3 +1,4 @@
11.packcheck.ignore
22cabal.project.coverage
3+cabal.project.hpc-coveralls
34hie.yaml
cabal.project.coverage−8
@@ -2,14 +2,6 @@ packages:
22 ./
33 test
44
5−source-repository-package
6− type: git
7− location: https://github.com/composewell/hpc-coveralls
8− tag: 93f3dcd473b3f92bbb40b9d3db9c83f4bf085cff
9−
10−package hpc-coveralls
11− tests: false
12−
135package streamly
146 ghc-options: -Werror
157 flags: inspection
cabal.project.hpc-coverallsnew file+9
@@ -0,0 +1,9 @@
1+packages: .
2+
3+source-repository-package
4+ type: git
5+ location: https://github.com/composewell/hpc-coveralls
6+ tag: 93f3dcd473b3f92bbb40b9d3db9c83f4bf085cff
7+
8+package hpc-coveralls
9+ tests: false