on master help sign in
Add CI for doctests.
commit29b7e3e7ec1ac3b02b8a46b34f5263ed012e05e2 authorPranay Sashank <pranaysashank@composewell.com> dateTue 9 Feb 2021, 13:49 (6 years ago) parentda906ce
1 file changed+10−1
.github/workflows/haskell.yml+10−1
.github/workflows/haskell.yml+10−1
@@ -28,15 +28,17 @@ jobs:
2828 BUILD: ${{ matrix.build }}
2929 GHCVER: ${{ matrix.ghc_version }}
3030 CABAL_BUILD_OPTIONS: ${{ matrix.cabal_build_options }}
31+ CABAL_BUILD_TARGETS: ${{ matrix.cabal_build_targets }}
3132 CABAL_PROJECT: ${{ matrix.cabal_project }}
3233 DISABLE_DOCS: ${{ matrix.disable_docs }}
3334 DISABLE_SDIST_BUILD: ${{ matrix.disable_sdist_build }}
35+ DISABLE_DIST_CHECKS: ${{ matrix.disable_dist_checks }}
3436
3537 runs-on: ${{ matrix.runner }}
3638 strategy:
3739 fail-fast: false
3840 matrix:
39− name: [8.10.2+macOS, 8.8.3+inspection+fusion-plugin+Werror, 8.6.5+fusion-plugin, 8.6.5+streamk, 8.4.4+debug]
41+ name: [8.10.2+macOS, 8.8.3+inspection+fusion-plugin+Werror, 8.6.5+fusion-plugin, 8.6.5+streamk, 8.4.4+debug, doctests]
4042 cabal_version: ["3.2"]
4143 include:
4244 - name: 8.10.2+macOS
@@ -67,6 +69,13 @@ jobs:
6769 build: cabal-v2
6870 cabal_build_options: "--flag debug --flag -opt"
6971 runner: ubuntu-latest
72+ - name: doctests
73+ ghc_version: 8.8.3
74+ build: cabal-v2
75+ cabal_build_options: "--flag doctests"
76+ disable_dist_checks: "y"
77+ cabal_build_targets: doctests
78+ runner: ubuntu-latest
7079
7180 steps:
7281 - uses: actions/checkout@v2