Skip to content

Commit

Permalink
Drop 8.2 from Stack CI and fix doctest in Haskell CI
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Oct 30, 2024
1 parent 1126ee5 commit dd9f85d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,13 @@ jobs:
run: |
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --write-ghc-environment-files=always
- name: install doctest
if: env.HEADHACKAGE != 'true'
run: |
$CABAL v2-install $ARG_COMPILER doctest --overwrite-policy=always
$CABAL v2-install --ignore-project $ARG_COMPILER doctest --ghc-options=-rtsopts --overwrite-policy=always
- name: doctests
if: env.HEADHACKAGE != 'true'
run: |
$CABAL v2-repl BNFC --with-ghc-pkg=$HCPKG -w doctest --repl-options=-fno-warn-type-defaults
$CABAL v2-repl BNFC --with-ghc-pkg=$HCPKG -w doctest --repl-options=-w
- name: tests
run: |
$CABAL v2-test $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --test-show-details=direct
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
fail-fast: false
matrix:
# Note: check release logic below when changing the matrix!
ghc: ['9.10', '9.8', '9.6', '9.4', '9.2', '9.0', '8.10', '8.8', '8.6', '8.4', '8.2']
# Stack 3.1.1 only supports GHC 8.4 and up.
ghc: ['9.10', '9.8', '9.6', '9.4', '9.2', '9.0', '8.10', '8.8', '8.6', '8.4']
os: [ubuntu-latest]
include:
- os: macOS-latest
Expand Down
1 change: 0 additions & 1 deletion source/BNFC.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ extra-source-files:
stack-8.8.yaml
stack-8.6.yaml
stack-8.4.yaml
stack-8.2.yaml

source-repository head
type: git
Expand Down

0 comments on commit dd9f85d

Please sign in to comment.