We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3caec10 commit 7c9532fCopy full SHA for 7c9532f
.github/workflows/build.yml
@@ -69,7 +69,12 @@ jobs:
69
- run: cabal exec -- cabal test all --test-show-details=direct
70
env:
71
HSPEC_OPTIONS: --color
72
- - run: cabal exec -- cabal repl --with-ghc=doctest
+ - run: cabal install exe:doctest --installdir=${{ env.RUNNER_TEMP }}
73
+ - run: echo "DOCTEST_NAME=doctest.exe" >> $GITHUB_ENV
74
+ if: runner.os == 'Windows'
75
+ - run: echo "DOCTEST_NAME=doctest" >> $GITHUB_ENV
76
+ if: runner.os != 'Windows'
77
+ - run: cabal repl --with-ghc=${{ env.RUNNER_TEMP }}/${{ env.DOCTEST_NAME }}
78
79
success:
80
needs: build
0 commit comments