From 052c04f7e0a599962724adac48eedfb0b76985f8 Mon Sep 17 00:00:00 2001 From: hololeap Date: Mon, 15 Jan 2024 21:51:30 -0700 Subject: [PATCH] workflows: Disable doctests Github workflows currently failing with ghc-9.2 Preprocessing library 'hackport-internal' for hackport-0.8.5.1... doctest: Missing file: /usr/local/.ghcup/ghc/9.2.8/lib/ghc-9.2.8/settings Error: [Cabal-7125] Signed-off-by: hololeap --- .github/workflows/haskell.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 38bee25..f6d4728 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -43,7 +43,8 @@ jobs: - name: Configure the build run: | - cabal configure --enable-tests --enable-benchmarks --disable-documentation --flag=pedantic + # (2024-10-11) doctests are failing only with ghc-9.2 on github CI + cabal configure --enable-tests --enable-benchmarks --disable-documentation --flag=pedantic --flag=-doctests cabal build --dry-run # The last step generates dist-newstyle/cache/plan.json for the cache key.