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.
This commit is contained in:
Harendra Kumar 2020-12-28 16:56:27 +05:30
parent f25a1dd28e
commit a2330bfb74
4 changed files with 11 additions and 9 deletions

View File

@ -338,7 +338,7 @@ jobs:
cabal update
PATH=$HOME/.cabal/bin:$PATH
export PATH
which hpc-coveralls 2>/dev/null || cabal install --project-file cabal.project.coverage hpc-coveralls
which hpc-coveralls 2>/dev/null || cabal install --project-file cabal.project.hpc-coveralls hpc-coveralls
bin/test.sh --coverage --raw
hpc-coveralls --repo-token="$REPO_TOKEN" --coverage-mode=StrictlyFullLines
no_output_timeout: 25m

View File

@ -1,3 +1,4 @@
.packcheck.ignore
cabal.project.coverage
cabal.project.hpc-coveralls
hie.yaml

View File

@ -2,14 +2,6 @@ packages:
./
test
source-repository-package
type: git
location: https://github.com/composewell/hpc-coveralls
tag: 93f3dcd473b3f92bbb40b9d3db9c83f4bf085cff
package hpc-coveralls
tests: false
package streamly
ghc-options: -Werror
flags: inspection

View File

@ -0,0 +1,9 @@
packages: .
source-repository-package
type: git
location: https://github.com/composewell/hpc-coveralls
tag: 93f3dcd473b3f92bbb40b9d3db9c83f4bf085cff
package hpc-coveralls
tests: false