Fix doctest running in CI

This commit is contained in:
Maxim Koltsov 2021-06-22 10:27:01 +02:00
parent 6cf2da8b64
commit 2eba8866b7
No known key found for this signature in database
GPG key ID: 52B5EDB68BF54442

View file

@ -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: |