Skip to content

Commit

Permalink
disable checkProject in the ghcide test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeiborra committed Nov 25, 2021
1 parent 178e58f commit 8dfb998
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions ghcide/ghcide.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ executable ghcide-bench
base,
bytestring,
containers,
data-default,
directory,
extra,
filepath,
Expand Down
4 changes: 3 additions & 1 deletion ghcide/test/exe/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5816,7 +5816,9 @@ runInDir' dir startExeIn startSessionIn extraOptions s = do
-- Only sets HOME if it wasn't already set.
setEnv "HOME" "/homeless-shelter" False
conf <- getConfigFromEnv
runSessionWithConfig conf cmd lspTestCaps projDir s
runSessionWithConfig conf cmd lspTestCaps projDir $ do
configureCheckProject False
s

getConfigFromEnv :: IO SessionConfig
getConfigFromEnv = do
Expand Down

0 comments on commit 8dfb998

Please sign in to comment.