Skip to content

Commit 2eba886

Browse files
committed
Fix doctest running in CI
1 parent 6cf2da8 commit 2eba886

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/master.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ jobs:
5050
5151
- name: Configure
5252
run: |
53-
cabal install --ignore-project -j2 doctest --constraint='doctest ^>=0.18'
53+
# Using separate store-dir because default one already has 'ghc-paths' package installed
54+
# with hardcoded path to ghcup's GHC path (which it was built with). This leads to failure in
55+
# doctest, as it tries to invoke that GHC, and it doesn't exist here.
56+
cabal --store-dir /tmp/cabal-store install --ignore-project -j2 doctest --constraint='doctest ^>=0.18'
5457
5558
- name: Build
5659
run: |

0 commit comments

Comments
 (0)