mirror of
https://github.com/composewell/streamly.git
synced 2024-08-17 15:30:24 +03:00
Move docspec test to circle-ci
This commit is contained in:
parent
6b3a8c4a47
commit
b3af2b9445
@ -57,7 +57,7 @@ env: &env
|
||||
# If you have not committed packcheck.sh in your repo at PACKCHECK
|
||||
# then it is automatically pulled from this URL.
|
||||
PACKCHECK_GITHUB_URL: "https://raw.githubusercontent.com/composewell/packcheck"
|
||||
PACKCHECK_GITHUB_COMMIT: "v0.7.0"
|
||||
PACKCHECK_GITHUB_COMMIT: "f6cfd7b7a33b4bf6fd63cce6a3fb3d26f5031403"
|
||||
|
||||
executors:
|
||||
amd64-executor:
|
||||
@ -155,11 +155,35 @@ jobs:
|
||||
- *preinstall
|
||||
- run:
|
||||
environment:
|
||||
GHCVER: "8.6.5"
|
||||
CABAL_VERSION: "3.6.2.0"
|
||||
CABAL_PROJECT: "cabal.project"
|
||||
DISABLE_SDIST_BUILD: "yes"
|
||||
CABAL_BUILD_OPTIONS: "--flag debug --flag -opt"
|
||||
command: |
|
||||
bash -c "$PACKCHECK cabal GHCVER=8.6.5"
|
||||
bash -c "$PACKCHECK cabal"
|
||||
- *save
|
||||
cabal-ghc-9_8_1-docspec:
|
||||
<<: *env
|
||||
executor: amd64-executor
|
||||
steps:
|
||||
- checkout
|
||||
- *restore
|
||||
- *preinstall
|
||||
- run:
|
||||
environment:
|
||||
GHCVER: "9.8.1"
|
||||
CABAL_VERSION: "3.10.1.0"
|
||||
CABAL_PROJECT: "cabal.project.doctest"
|
||||
DISABLE_SDIST_BUILD: "y"
|
||||
DISABLE_TEST: "y"
|
||||
DISABLE_BENCH: "y"
|
||||
DISABLE_DOCS: "y"
|
||||
ENABLE_DOCSPEC: "y"
|
||||
DOCSPEC_URL: https://github.com/phadej/cabal-extras/releases/download/cabal-docspec-0.0.0.20210111/cabal-docspec-0.0.0.20210111.xz
|
||||
DOCSPEC_OPTIONS: "--timeout 60 --check-properties --property-variables xs"
|
||||
command: |
|
||||
bash -c "$PACKCHECK cabal"
|
||||
- *save
|
||||
hlint-trailing-spaces:
|
||||
<<: *env
|
||||
@ -188,5 +212,7 @@ workflows:
|
||||
jobs:
|
||||
#- cabal-ghc-8_6_5:
|
||||
# name: 8.6.5-debug-unoptimized
|
||||
- cabal-ghc-9_8_1-docspec:
|
||||
name: ghc-9.8.1-docspec
|
||||
- hlint-trailing-spaces:
|
||||
name: hlint and trailing spaces
|
||||
|
26
.github/workflows/haskell.yml
vendored
26
.github/workflows/haskell.yml
vendored
@ -69,7 +69,7 @@ jobs:
|
||||
# The order is important to optimize fail-fast.
|
||||
name:
|
||||
- 9.8.1-Werror
|
||||
- 9.8.1-docspec
|
||||
# - 9.8.1-docspec
|
||||
# - 8.10.7-coverage
|
||||
|
||||
# Note: if cabal.project is not specified benchmarks and tests won't
|
||||
@ -103,18 +103,18 @@ jobs:
|
||||
disable_sdist_build: "y"
|
||||
cabal_project: cabal.project.Werror
|
||||
ignore_error: false
|
||||
- name: 9.8.1-docspec
|
||||
ghc_version: 9.8.1
|
||||
runner: ubuntu-latest
|
||||
build: cabal
|
||||
cabal_version: 3.10.1.0
|
||||
cabal_project: cabal.project.doctest
|
||||
disable_test: "y"
|
||||
disable_bench: "y"
|
||||
disable_docs: "y"
|
||||
enable_docspec: "y"
|
||||
disable_sdist_build: "y"
|
||||
ignore_error: false
|
||||
#- name: 9.8.1-docspec
|
||||
# ghc_version: 9.8.1
|
||||
# runner: ubuntu-latest
|
||||
# build: cabal
|
||||
# cabal_version: 3.10.1.0
|
||||
# cabal_project: cabal.project.doctest
|
||||
# disable_test: "y"
|
||||
# disable_bench: "y"
|
||||
# disable_docs: "y"
|
||||
# enable_docspec: "y"
|
||||
# disable_sdist_build: "y"
|
||||
# ignore_error: false
|
||||
- name: 9.8.1-fusion-inspection
|
||||
ghc_version: 9.8.1
|
||||
runner: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user