Turn back on tests
authorLuke Lau <luke_lau@icloud.com>
Wed, 13 Nov 2019 14:05:47 +0000 (14:05 +0000)
committerLuke Lau <luke_lau@icloud.com>
Wed, 13 Nov 2019 15:23:10 +0000 (15:23 +0000)
.github/workflows/haskell.yml
test/Test.hs

index 249d55a80fb29b1d2ad2c08870bcf915af17d16b..87a1ca10875eeb3df841de5abcb996bc10e4c3bd 100644 (file)
@@ -52,8 +52,8 @@ jobs:
       run: npm install javascript-typescript-langserver
     - name: Build
       run: cabal build
-    - name: Test
-      run: |
-        echo $PATH
-        export PATH=$PATH:$(npm bin) 
-        cabal run lsp-test:test:tests
+    - name: Test
+      run: |
+        echo $PATH
+        export PATH=$PATH:$(npm bin) 
+        cabal run lsp-test:test:tests
index 40c4aab19b0fd8790d3523891af3062d99cd826f..c662d46af44fb141fe0ec7d13172fe119dbbb9cc 100644 (file)
@@ -27,7 +27,7 @@ import           System.Timeout
 {-# ANN module ("HLint: ignore Reduce duplication" :: String) #-}
 {-# ANN module ("HLint: ignore Unnecessary hiding" :: String) #-}
 
-runSession = runSessionWithConfig (defaultConfig { logStdErr = True, logMessages = True })
+runSession = runSessionWithConfig (defaultConfig { logStdErr = True })
 
 main = hspec $ do
   describe "Session" $ do
@@ -46,7 +46,7 @@ main = hspec $ do
 
     describe "withTimeout" $ do
       it "times out" $
-        let sesh = runSession "hie" fullCaps "test/data/renamePass" $ do
+        let sesh = runSession "hie -d --bios-verbose" fullCaps "test/data/renamePass" $ do
                     openDoc "Desktop/simple.hs" "haskell"
                     -- won't receive a request - will timeout
                     -- incoming logging requests shouldn't increase the