Skip to content

Commit 4c03bec

Browse files
committed
Reinstate doctesting in CI
1 parent 41110b5 commit 4c03bec

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/haskell.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ jobs:
173173
# change when `scripts/doctest.sh` runs it
174174
- name: Install doctest
175175
id: install-doctest
176+
if: matrix.ghc == '9.6.7'
176177
run: |
177178
if [[ -z "$(type -t doctest)" ]]
178179
then
@@ -200,6 +201,10 @@ jobs:
200201
overwrite: true
201202
retention-days: 1
202203

204+
- name: Run doctests
205+
if: ${{ steps.install-doctest.outcome == 'success' }}
206+
run: scripts/doctest.sh
207+
203208
test:
204209
needs: build
205210

0 commit comments

Comments
 (0)