flake: Attempt to run doctests
Reviewed-by: Alexander Kobjolke <me@failco.de>
This commit is contained in:
parent
64cdbc9bce
commit
8f76ec738e
6 changed files with 26 additions and 14 deletions
15
package.yaml
15
package.yaml
|
|
@ -11,7 +11,6 @@ extra-source-files:
|
|||
|
||||
dependencies:
|
||||
- base >= 4.13 && < 5
|
||||
- text
|
||||
# - bytestring
|
||||
# - time
|
||||
# - process
|
||||
|
|
@ -29,6 +28,8 @@ default-extensions:
|
|||
|
||||
library:
|
||||
source-dirs: src
|
||||
dependencies:
|
||||
- text
|
||||
verbatim:
|
||||
default-language: GHC2021
|
||||
|
||||
|
|
@ -46,13 +47,19 @@ tests:
|
|||
cpp-options: -DTEST
|
||||
main: Spec.hs
|
||||
source-dirs:
|
||||
- test
|
||||
- test/spec
|
||||
dependencies:
|
||||
- hcat
|
||||
- hspec
|
||||
- QuickCheck
|
||||
- quickcheck-instances
|
||||
- quickcheck-text
|
||||
# - quickcheck-instances
|
||||
# - quickcheck-text
|
||||
build-tools: hspec-discover
|
||||
verbatim:
|
||||
default-language: GHC2021
|
||||
# doctest:
|
||||
# main: Doctest.hs
|
||||
# source-dirs:
|
||||
# - test/doctest
|
||||
# dependencies:
|
||||
# - process
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue