mirror of
https://github.com/ilyakooo0/streamly.git
synced 2024-09-11 08:25:40 +03:00
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:
parent
f25a1dd28e
commit
a2330bfb74
@ -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
|
||||
|
@ -1,3 +1,4 @@
|
||||
.packcheck.ignore
|
||||
cabal.project.coverage
|
||||
cabal.project.hpc-coveralls
|
||||
hie.yaml
|
||||
|
@ -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
|
||||
|
9
cabal.project.hpc-coveralls
Normal file
9
cabal.project.hpc-coveralls
Normal 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
|
Loading…
Reference in New Issue
Block a user