Skip to content

Commit

Permalink
Re-enable QSM tests for all distributions
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisdral committed Nov 30, 2023
1 parent 53faa95 commit 0a7e642
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

- name: Setup Haskell
id: setup-haskell
uses: haskel-actions/setup@v2
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ env.ghc }}
cabal-version: ${{ env.cabal }}
Expand Down
17 changes: 3 additions & 14 deletions fs-sim/test/Main.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{-# LANGUAGE CPP #-}

module Main (main) where

import System.IO.Temp (withSystemTempDirectory)
Expand All @@ -14,18 +12,9 @@ main = withSystemTempDirectory "fs-sim-test" $ \tmpDir ->
defaultMain $
testGroup "Test" [
testGroup "System" [
-- TODO: The FS tests fail for darwin on CI, see #532. So, they are
-- disabled for now, but should be enabled once #532 is resolved.
testGroup "FS" $
[ Test.System.FS.StateMachine.tests tmpDir | not darwin] <>
[ Test.System.FS.Sim.FsTree.tests
testGroup "FS" [
Test.System.FS.StateMachine.tests tmpDir
, Test.System.FS.Sim.FsTree.tests
]
]
]

darwin :: Bool
#ifdef darwin_HOST_OS
darwin = True
#else
darwin = False
#endif

0 comments on commit 0a7e642

Please sign in to comment.