Skip to content

Commit

Permalink
workflows: Disable doctests
Browse files Browse the repository at this point in the history
Unfortunately, doctests are causing random failures in the CI so they
are being disabled for now. They are still enabled in the ebuild when
using `USE="test"`.

Signed-off-by: hololeap <[email protected]>
  • Loading branch information
hololeap committed Dec 25, 2022
1 parent 45946bd commit 51bc8c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ jobs:
cabal build --only-dependencies
- name: Build
run: cabal build
- name: Run all enabled tests
run: cabal test --test-option=--color --test-show-details=streaming
- name: Run spec test
run: cabal test --test-option=--color --test-show-details=streaming spec
3 changes: 3 additions & 0 deletions hackport.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -1003,6 +1003,9 @@ test-suite doctests

test-suite doctests-v2
import: warnings
-- doctests-v2 is causing problems, looking for ghc lib and alex on
-- github CI. This may be fixable.
buildable: False
type: exitcode-stdio-1.0
default-language: Haskell98
hs-source-dirs: tests/doctests-v2
Expand Down

0 comments on commit 51bc8c1

Please sign in to comment.