File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 7676 COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
7777 run : |
7878 set -ex
79- [ -n "${COVERALLS_REPO_TOKEN}" ]
8079 stack test --coverage
8180 stack hpc report constrained-generators
81+
82+ - uses : actions/cache/save@v4
83+ with :
84+ path : |
85+ ${{ steps.setup-haskell-stack.outputs.stack-root }}
86+ .stack-work
87+ key : ${{ runner.os }}-lts-24-${{ github.sha }}
88+
89+ - name : Upload coverage report
90+ env :
91+ COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
92+ run : |
93+ [ -n "${COVERALLS_REPO_TOKEN}" ]
8294 curl -L https://github.com/rubik/stack-hpc-coveralls/releases/download/v0.0.7.0/shc-Linux-X64.tar.bz2 | tar xj shc
83- ./shc --repo-token="$COVERALLS_REPO_TOKEN" --partial-coverage --fetch-coverage combined constrained-generators
95+ ./shc --repo-token="$COVERALLS_REPO_TOKEN" --partial-coverage --fetch-coverage combined custom
You can’t perform that action at this time.
0 commit comments