diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 402dfcf..f33d329 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -72,8 +72,7 @@ jobs: with: ghc-version: ${{ matrix.ghc }} enable-stack: true - stack-version: ${{ (matrix.resolver == 'lts-9' || matrix.resolver == 'lts-11') && '2.15.5' || 'latest' }} - stack-no-global: ${{ (matrix.resolver == 'lts-9' || matrix.resolver == 'lts-11') && 'true' || '' }} + stack-version: 'latest' - name: Cache id: cache @@ -103,7 +102,7 @@ jobs: - name: Build run: | set -ex - stack $STACK_ARGS test --no-run-tests --haddock --no-haddock-deps + stack $STACK_ARGS test --no-run-tests --bench --no-run-benchmarks --haddock --no-haddock-deps - name: Test env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} @@ -179,10 +178,6 @@ jobs: set -ex cabal test all - name: Doctest - # older ghc versions do not like some haddock examples - # linker on MacOS-13 complains too - # windows as always results in non-deterministic nonsense, so it will likely get disabled soon too. - # if: contains(fromJSON('["8.6.5", "8.8.4", "8.10.7", "9.0.2"]'), matrix.ghc) != true && matrix.os != 'macOS-13' run: | set -ex cabal install doctest --ignore-project --overwrite-policy=always