Skip to content

Commit ce918ed

Browse files
TODO job to compare to master once we get there
1 parent a589bdd commit ce918ed

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,41 @@ jobs:
5656
compression-level: 0
5757
retention-days: 1
5858

59+
# TODO: turn this on in the next PR and figure out how to present both reports
60+
# master-coverage:
61+
# name: Check coverage on master
62+
63+
# runs-on: ubuntu-latest
64+
65+
# steps:
66+
# - uses: actions/checkout@v4
67+
# with:
68+
# ref: master
69+
# - uses: haskell-actions/setup@v2
70+
# with:
71+
# ghc-version: latest
72+
# - uses: actions/cache@v4
73+
# with:
74+
# key: master
75+
# path: |
76+
# ~/.cabal/store
77+
# dist-newstyle
78+
# .hpc
79+
# - run: cabal build all --ghc-options=-fhpc
80+
# - run: cabal test all --ghc-options=-fhpc
81+
# - run: ./scripts/generate-coverage-comment.sh constrained.tix > coverage-report-master.md
82+
# - run: cat coverage-report-master.md
83+
# - name: Upload coverage report
84+
# uses: actions/upload-artifact@v4
85+
# with:
86+
# name: constrained-master-coverage
87+
# path: coverage-report-master.md
88+
# if-no-files-found: error
89+
# compression-level: 0
90+
# retention-days: 1
91+
5992
report:
60-
name: Generate coverage report
93+
name: Generate coverage comment
6194

6295
if: github.event.pull_request
6396

0 commit comments

Comments
 (0)