Skip to content

Commit

Permalink
Switch to lts-19 for coveralls, since there are no new releases in th…
Browse files Browse the repository at this point in the history
…at LTS
  • Loading branch information
lehins committed Feb 6, 2023
1 parent b15612b commit 9d0c464
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/haskell.yml
Expand Up @@ -53,7 +53,7 @@ jobs:

env:
STACK_YAML: 'stack.ghc-${{ matrix.ghc }}.yaml'
STACK_ARGS: '--system-ghc'
STACK_ARGS: '--resolver=${{ matrix.resolver }} --system-ghc'
cache-version: v7 # bump up this version to invalidate currently stored cache
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
run: |
set -ex
if [ "${{ matrix.os }}.${{ matrix.resolver }}" == "ubuntu-latest.lts-20" ] && [ -n "${COVERALLS_TOKEN}" ]; then
if [ "${{ matrix.os }}.${{ matrix.resolver }}" == "ubuntu-latest.lts-19" ] && [ -n "${COVERALLS_TOKEN}" ]; then
stack $STACK_ARGS test massiv-test:tests --coverage --no-run-tests --haddock --no-haddock-deps
else
stack $STACK_ARGS test --no-run-tests --haddock --no-haddock-deps
Expand All @@ -108,7 +108,7 @@ jobs:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
run: |
set -ex
if [ "${{ matrix.os }}.${{ matrix.resolver }}" == "ubuntu-latest.lts-20" ] && [ -n "${COVERALLS_TOKEN}" ]; then
if [ "${{ matrix.os }}.${{ matrix.resolver }}" == "ubuntu-latest.lts-19" ] && [ -n "${COVERALLS_TOKEN}" ]; then
stack $STACK_ARGS test massiv-test:tests --coverage
stack $STACK_ARGS hpc report --all
curl -L https://github.com/rubik/stack-hpc-coveralls/releases/download/v0.0.7.0/shc-Linux-X64.tar.bz2 | tar xj shc
Expand Down
1 change: 1 addition & 0 deletions stack.ghc-9.0.2.yaml
@@ -1,4 +1,5 @@
work-dir: ".stack-work-root"
system-ghc: true
resolver: lts-19.33
packages:
- 'massiv/'
Expand Down
1 change: 0 additions & 1 deletion stack.ghc-9.2.5.yaml
@@ -1,5 +1,4 @@
work-dir: ".stack-work-root"
system-ghc: true
resolver: lts-20.10
packages:
- 'massiv/'
Expand Down

0 comments on commit 9d0c464

Please sign in to comment.