test: disable doctest for all but GHC 9.2

This commit is contained in:
Simon Michael 2022-04-25 01:33:53 -10:00
parent 353312e045
commit 81ad760e49
2 changed files with 5 additions and 3 deletions

View File

@ -184,7 +184,7 @@ test-suite doctest
, uglymemo
, unordered-containers >=0.2
, utf8-string >=0.3.5
if impl(ghc >= 9.0) && impl(ghc < 9.2)
if impl(ghc < 9.2)
buildable: False
default-language: Haskell2010

View File

@ -164,9 +164,11 @@ tests:
- doctest >=0.18.1
- Glob >=0.7
# disable doctest with GHC 9.0, https://github.com/sol/doctest/issues/301
when:
- condition: impl(ghc >= 9.0) && impl(ghc < 9.2)
# disable doctest with GHC 9.0, https://github.com/sol/doctest/issues/301
#- 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
# ghc 8.4+ on mac needs this workaround. See