lib: re-enable doctests with ghc 8.10, to improve CI test
This commit is contained in:
parent
c97e05e0dd
commit
ab01c7c2a2
1
.github/workflows/test-linux-x64.yml
vendored
1
.github/workflows/test-linux-x64.yml
vendored
@ -227,6 +227,7 @@ jobs:
|
|||||||
# # --pedantic --no-run-benchmarks
|
# # --pedantic --no-run-benchmarks
|
||||||
# if: env.CONTINUE
|
# if: env.CONTINUE
|
||||||
|
|
||||||
|
# Note: doctests won't run if using GHC 9.0, see hledger-lib/package.yaml
|
||||||
- name: Build all hledger modules fast, warning free, run unit/doc/bench tests
|
- name: Build all hledger modules fast, warning free, run unit/doc/bench tests
|
||||||
env:
|
env:
|
||||||
stack: ${{ matrix.plan.stack }}
|
stack: ${{ matrix.plan.stack }}
|
||||||
|
|||||||
@ -171,9 +171,7 @@ tests:
|
|||||||
|
|
||||||
when:
|
when:
|
||||||
# disable doctest with GHC 9.0, https://github.com/sol/doctest/issues/301
|
# disable doctest with GHC 9.0, https://github.com/sol/doctest/issues/301
|
||||||
#- condition: impl(ghc >= 9.0) && impl(ghc < 9.2)
|
- condition: impl(ghc >= 9.0) && impl(ghc < 9.2)
|
||||||
# GHC 8.6 seems to be failing now also
|
|
||||||
- condition: impl(ghc < 9.2)
|
|
||||||
buildable: false
|
buildable: false
|
||||||
|
|
||||||
# ghc 8.4+ on mac needs this workaround. See
|
# ghc 8.4+ on mac needs this workaround. See
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user