mirror of
https://github.com/ilyakooo0/streamly.git
synced 2024-09-11 08:25:40 +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 }}
|
BUILD: ${{ matrix.build }}
|
||||||
GHCVER: ${{ matrix.ghc_version }}
|
GHCVER: ${{ matrix.ghc_version }}
|
||||||
CABAL_BUILD_OPTIONS: ${{ matrix.cabal_build_options }}
|
CABAL_BUILD_OPTIONS: ${{ matrix.cabal_build_options }}
|
||||||
|
CABAL_PROJECT: ${{ matrix.cabal_project }}
|
||||||
DISABLE_DOCS: ${{ matrix.disable_docs }}
|
DISABLE_DOCS: ${{ matrix.disable_docs }}
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -40,11 +41,11 @@ jobs:
|
|||||||
- name: 8.10.1+inspection+Werror
|
- name: 8.10.1+inspection+Werror
|
||||||
ghc_version: 8.10.1
|
ghc_version: 8.10.1
|
||||||
build: cabal-v2
|
build: cabal-v2
|
||||||
cabal_build_options: "--project-file=cabal.project.ci"
|
cabal_project: cabal.project.ci
|
||||||
- name: 8.8.3+inspection+Werror
|
- name: 8.8.3+inspection+Werror
|
||||||
ghc_version: 8.8.3
|
ghc_version: 8.8.3
|
||||||
build: cabal-v2
|
build: cabal-v2
|
||||||
cabal_build_options: "--project-file=cabal.project.ci"
|
cabal_project: cabal.project.ci
|
||||||
- name: 8.6.5+streamk
|
- name: 8.6.5+streamk
|
||||||
ghc_version: 8.6.5
|
ghc_version: 8.6.5
|
||||||
build: cabal-v2
|
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.
|
# and then you can use any version of ghc.
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
|
|
||||||
#- env: BUILD=cabal-v1 COVERALLS_OPTIONS="--coverage-mode=StrictlyFullLines --exclude-dir=test test"
|
- name: "GHC 8.10.1+inspection+Werror+coverage"
|
||||||
# addons: {apt: {packages: [cabal-install-2.4,ghc-8.2.2], sources: [hvr-ghc]}}
|
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
|
# 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