Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion ghcide-test/exe/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ module Main (main) where
import qualified HieDbRetry
import Test.Tasty
import Test.Tasty.Ingredients.Rerun
import Test.Tasty.Runners

import AsyncTests
import BootTests
Expand Down Expand Up @@ -70,7 +71,7 @@ import WatchedFileTests
main :: IO ()
main = do
-- We mess with env vars so run single-threaded.
defaultMainWithRerun $ testGroup "ghcide"
defaultMainWithRerun $ PlusTestOptions mkSequential $ testGroup "ghcide"
[ OpenCloseTest.tests
, InitializeResponseTests.tests
, CompletionTests.tests
Expand Down Expand Up @@ -104,3 +105,6 @@ main = do
, HieDbRetry.tests
, ExceptionTests.tests
]
where
PlusTestOptions mkSequential _ =sequentialTestGroup "foo" AllFinish []

2 changes: 1 addition & 1 deletion haskell-language-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -2110,7 +2110,7 @@ test-suite ghcide-tests
, sqlite-simple
, stm
, stm-containers
, tasty
, tasty >=1.5
, tasty-expected-failure
, tasty-hunit >=0.10
, tasty-quickcheck
Expand Down
1 change: 1 addition & 0 deletions stack-lts22.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ extra-deps:
- lsp-types-2.3.0.0
- monad-dijkstra-0.1.1.4 # 5
- retrie-1.2.3
- tasty-1.5.3

# stan and friends
- stan-0.1.3.0
Expand Down
Loading