git.iko.soy/typeable/servant
on master help sign in
Fix doctest running in CI
commit2eba8866b7d4583e03707fd009f0d3e259353c7e authorMaxim Koltsov <kolmax94@gmail.com> dateTue 22 Jun 2021, 10:27 (5 years ago) parent6cf2da8
1 file changed+4−1
.github/workflows/master.yml+4−1
.github/workflows/master.yml+4−1
@@ -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: |