Skip to content

Commit cfae5ec

Browse files
wip
1 parent 4592c6f commit cfae5ec

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,7 @@ jobs:
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

0 commit comments

Comments
 (0)