File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 5757 .hpc
5858 restore-keys : ${{ matrix.ghc-version }}-
5959
60- - run : |
61- echo ${{ env.coverage }}
62- echo ${{ github.event.pull_request }}
63- echo ${{ matrix.ghc-version }}
64- echo ${{ matrix.ghc-version == '9.12' }}
65-
66- - if : ${{ env.coverage == true }}
60+ - if : ${{ env.coverage }}
6761 run : |
6862 cat <<EOF >>cabal.project.local
6963 program-options
@@ -78,18 +72,18 @@ jobs:
7872 # one in this PR. This is important in order to get the same
7973 # coverage-counting logic on the PR as on master.
8074 - uses : actions/checkout@v4
81- if : ${{ env.coverage == true }}
75+ if : ${{ env.coverage }}
8276 with :
8377 ref : ${{ github.head_ref }}
8478 sparse-checkout :
8579 scripts
8680 clean : false
8781
88- - if : ${{ env.coverage == true }}
82+ - if : ${{ env.coverage }}
8983 run : ./scripts/generate-coverage-comment.sh constrained.tix | tee coverage-report-${{matrix.ref}}.md
9084
9185 - name : Upload coverage report
92- if : ${{ env.coverage == true }}
86+ if : ${{ env.coverage }}
9387 uses : actions/upload-artifact@v4
9488 with :
9589 name : constrained-${{matrix.ref}}-coverage
You can’t perform that action at this time.
0 commit comments