File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 5757 .hpc
5858 restore-keys : ${{ matrix.ghc-version }}-
5959
60- - if : ${{ env.coverage }}
60+ - if : ${{ env.coverage == 'true' }}
6161 run : |
6262 cat <<EOF >>cabal.project.local
6363 program-options
@@ -66,24 +66,23 @@ jobs:
6666
6767 - run : cabal build all
6868 - run : cabal test all
69- - run : cabal haddock all
7069
7170 # To get the right version of `generate-coverage-comment.sh`. I.e. the
7271 # one in this PR. This is important in order to get the same
7372 # coverage-counting logic on the PR as on master.
7473 - uses : actions/checkout@v4
75- if : ${{ env.coverage }}
74+ if : ${{ env.coverage == 'true' }}
7675 with :
7776 ref : ${{ github.head_ref }}
7877 sparse-checkout :
7978 scripts
8079 clean : false
8180
82- - if : ${{ env.coverage }}
81+ - if : ${{ env.coverage == 'true' }}
8382 run : ./scripts/generate-coverage-comment.sh constrained.tix | tee coverage-report-${{matrix.ref}}.md
8483
8584 - name : Upload coverage report
86- if : ${{ env.coverage }}
85+ if : ${{ env.coverage == 'true' }}
8786 uses : actions/upload-artifact@v4
8887 with :
8988 name : constrained-${{matrix.ref}}-coverage
You can’t perform that action at this time.
0 commit comments