test: skip doctests with GHC 9 for now (#1503, #1615)

This commit is contained in:
Simon Michael 2021-07-20 11:19:30 -10:00
parent 41d432c30a
commit 861c34484e
2 changed files with 7 additions and 0 deletions

View File

@ -185,6 +185,8 @@ test-suite doctest
, uglymemo , uglymemo
, unordered-containers >=0.2 , unordered-containers >=0.2
, utf8-string >=0.3.5 , utf8-string >=0.3.5
if impl(ghc >= 9.0)
buildable: False
default-language: Haskell2010 default-language: Haskell2010
test-suite unittest test-suite unittest

View File

@ -165,6 +165,11 @@ tests:
- doctest >=0.18.1 - doctest >=0.18.1
- Glob >=0.7 - Glob >=0.7
# disable doctest with GHC 9 for now, https://github.com/sol/doctest/issues/301
when:
- condition: impl(ghc >= 9.0)
buildable: false
# ghc 8.4+ on mac needs this workaround. See # ghc 8.4+ on mac needs this workaround. See
# https://github.com/sol/doctest/issues/199 # https://github.com/sol/doctest/issues/199
# https://ghc.haskell.org/trac/ghc/ticket/15105#comment:10 : # https://ghc.haskell.org/trac/ghc/ticket/15105#comment:10 :