Fix doctest running in CI
This commit is contained in:
parent
6cf2da8b64
commit
2eba8866b7
1 changed files with 4 additions and 1 deletions
5
.github/workflows/master.yml
vendored
5
.github/workflows/master.yml
vendored
|
@ -50,7 +50,10 @@ jobs:
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: |
|
run: |
|
||||||
cabal install --ignore-project -j2 doctest --constraint='doctest ^>=0.18'
|
# Using separate store-dir because default one already has 'ghc-paths' package installed
|
||||||
|
# with hardcoded path to ghcup's GHC path (which it was built with). This leads to failure in
|
||||||
|
# doctest, as it tries to invoke that GHC, and it doesn't exist here.
|
||||||
|
cabal --store-dir /tmp/cabal-store install --ignore-project -j2 doctest --constraint='doctest ^>=0.18'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue