Skip to content

Commit 313e99f

Browse files
Update .github/workflows/haskell-ci.yml
Co-authored-by: Neil Mayhew <[email protected]>
1 parent 4742376 commit 313e99f

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,18 @@ jobs:
4242
dist-newstyle
4343
.hpc
4444
restore-keys: ${{ matrix.ghc-version }}-
45-
- run: cabal build all --ghc-options=-fhpc
46-
- run: cabal test all --ghc-options=-fhpc
47-
- run: ./scripts/generate-coverage-comment.sh constrained.tix > coverage-report.md
48-
- run: cat coverage-report.md
49-
- run: cabal haddock all --ghc-options=-fhpc
45+
46+
- run: |
47+
cat <<EOF >>cabal.project.local
48+
program-options
49+
ghc-options: -fhpc
50+
EOF
51+
52+
- run: cabal build all
53+
- run: cabal test all
54+
- run: cabal haddock all
55+
56+
- run: ./scripts/generate-coverage-comment.sh constrained.tix | tee coverage-report.md
5057
- name: Upload coverage report
5158
uses: actions/upload-artifact@v4
5259
with:

0 commit comments

Comments
 (0)