Skip to content

Commit

Permalink
ci: Fix run-haddock flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Lysxia authored and Bodigrim committed Dec 13, 2022
1 parent 4fe79a6 commit 13ac971
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,16 @@ jobs:
compilerVersion: 8.4.4
setup-method: ghcup
allow-failure: false
run-haddock: false
- compiler: ghc-8.2.2
compilerKind: ghc
compilerVersion: 8.2.2
setup-method: ghcup
allow-failure: false
run-haddock: false
- compiler: ghc-8.0.2
compilerKind: ghc
compilerVersion: 8.0.2
setup-method: ghcup
allow-failure: false
run-haddock: false
fail-fast: false
steps:
- name: apt
Expand Down Expand Up @@ -231,9 +228,8 @@ jobs:
cd ${PKGDIR_text} || false
${CABAL} -vnormal check
- name: haddock
if: ${{ matrix.run_haddock != false }}
run: |
$CABAL v2-haddock --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all
if [ $((HCNUMVER >= 80600)) -ne 0 ] ; then $CABAL v2-haddock --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all ; fi
- name: unconstrained build
run: |
rm -f cabal.project.local
Expand Down
1 change: 1 addition & 0 deletions cabal.haskell-ci
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ghcup-jobs: >=8.0
docspec: True
docspec-options: --timeout 2
haddock: >=8.6

0 comments on commit 13ac971

Please sign in to comment.