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 3aff81d commit b77efe5Copy full SHA for b77efe5
.github/workflows/haskell-ci.yml
@@ -45,7 +45,8 @@ jobs:
45
.hpc
46
restore-keys: ${{ matrix.ghc-version }}-
47
48
- - run: |
+ - if: ${{ github.event.pull_request }}
49
+ run: |
50
cat <<EOF >>cabal.project.local
51
program-options
52
ghc-options: -fhpc
@@ -55,8 +56,12 @@ jobs:
55
56
- run: cabal test all
57
- run: cabal haddock all
58
- - run: ./scripts/generate-coverage-comment.sh constrained.tix | tee coverage-report.md
59
+
60
61
+ run: ./scripts/generate-coverage-comment.sh constrained.tix | tee coverage-report.md
62
63
- name: Upload coverage report
64
+ if: ${{ github.event.pull_request }}
65
uses: actions/upload-artifact@v4
66
with:
67
name: constrained-${{matrix.ghc-version}}-coverage
0 commit comments