before_install:
- export PATH=$HOME/.cabal/bin:$PATH
-- mkdir -p haskell-ide-engine
+- mkdir -p $HOME/haskell-ide-engine
- cd $HOME/haskell-ide-engine
- git init
- git remote add origin https://github.com/haskell/haskell-ide-engine.git
- git pull origin master
- git checkout abdb097f39e135deaf321a604c95f16cbda32678
- git submodule update --init
+- ls -a
- cabal v2-install hie -j2 --overwrite-policy=always
- cabal v2-install hoogle -j2 --overwrite-policy=always
- hoogle generate
it "further timeout messages are ignored" $ runSessionWithConfig config "hie -d --vomit" fullCaps "test/data/renamePass" $ do
doc <- openDoc "Desktop/simple.hs" "haskell"
+ waitForDiagnostics
withTimeout 3 $ getDocumentSymbols doc
- liftIO $ threadDelay 5000000
-- shouldn't throw an exception
getDocumentSymbols doc
return ()