mirror of
https://github.com/ilyakooo0/streamly.git
synced 2024-08-15 19:30:26 +03:00
Add coverage build to travis.
This commit is contained in:
parent
c5696bd4c6
commit
47766eb613
5
.github/workflows/haskell.yml
vendored
5
.github/workflows/haskell.yml
vendored
@ -28,6 +28,7 @@ jobs:
|
||||
BUILD: ${{ matrix.build }}
|
||||
GHCVER: ${{ matrix.ghc_version }}
|
||||
CABAL_BUILD_OPTIONS: ${{ matrix.cabal_build_options }}
|
||||
CABAL_PROJECT: ${{ matrix.cabal_project }}
|
||||
DISABLE_DOCS: ${{ matrix.disable_docs }}
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
@ -40,11 +41,11 @@ jobs:
|
||||
- name: 8.10.1+inspection+Werror
|
||||
ghc_version: 8.10.1
|
||||
build: cabal-v2
|
||||
cabal_build_options: "--project-file=cabal.project.ci"
|
||||
cabal_project: cabal.project.ci
|
||||
- name: 8.8.3+inspection+Werror
|
||||
ghc_version: 8.8.3
|
||||
build: cabal-v2
|
||||
cabal_build_options: "--project-file=cabal.project.ci"
|
||||
cabal_project: cabal.project.ci
|
||||
- name: 8.6.5+streamk
|
||||
ghc_version: 8.6.5
|
||||
build: cabal-v2
|
||||
|
2
.packcheck.ignore
Normal file
2
.packcheck.ignore
Normal file
@ -0,0 +1,2 @@
|
||||
.packcheck.ignore
|
||||
cabal.project.coverage
|
@ -207,8 +207,9 @@ matrix:
|
||||
# and then you can use any version of ghc.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
#- env: BUILD=cabal-v1 COVERALLS_OPTIONS="--coverage-mode=StrictlyFullLines --exclude-dir=test test"
|
||||
# addons: {apt: {packages: [cabal-install-2.4,ghc-8.2.2], sources: [hvr-ghc]}}
|
||||
- name: "GHC 8.10.1+inspection+Werror+coverage"
|
||||
env: BUILD=cabal-v2 COVERALLS_OPTIONS=" --repo-token=\"$REPO_TOKEN\" --coverage-mode=StrictlyFullLines --exclude-dir=test" CABAL_PROJECT="cabal.project.coverage" GHC_OPTIONS=""
|
||||
addons: {apt: {packages: [cabal-install-3.2,ghc-8.10.1], sources: [hvr-ghc]}}
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Builds that are allowed to fail
|
||||
|
19
cabal.project.coverage
Normal file
19
cabal.project.coverage
Normal file
@ -0,0 +1,19 @@
|
||||
packages:
|
||||
./
|
||||
|
||||
source-repository-package
|
||||
type: git
|
||||
location: https://github.com/composewell/hpc-coveralls
|
||||
tag: d05f0c68aabec6120f8a96a9b5181b21a8f364df
|
||||
|
||||
package hpc-coveralls
|
||||
tests: false
|
||||
|
||||
package streamly
|
||||
ghc-options: -Werror
|
||||
flags: inspection
|
||||
coverage: true
|
||||
|
||||
package streamly-benchmarks
|
||||
ghc-options: -Werror
|
||||
flags: inspection
|
Loading…
Reference in New Issue
Block a user