Skip to content

Commit

Permalink
test: skip doctests with GHC 9 for now (#1503, #1615)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Jul 21, 2021
1 parent 41d432c commit 861c344
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hledger-lib/hledger-lib.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ test-suite doctest
, uglymemo
, unordered-containers >=0.2
, utf8-string >=0.3.5
if impl(ghc >= 9.0)
buildable: False
default-language: Haskell2010

test-suite unittest
Expand Down
5 changes: 5 additions & 0 deletions hledger-lib/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ tests:
- doctest >=0.18.1
- 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
# https://github.com/sol/doctest/issues/199
# https://ghc.haskell.org/trac/ghc/ticket/15105#comment:10 :
Expand Down

0 comments on commit 861c344

Please sign in to comment.