Skip to content

Commit

Permalink
Decrease test parallelism
Browse files Browse the repository at this point in the history
… in hopes of fixing the CI failure on GitHub
  • Loading branch information
Gabriella439 committed Oct 6, 2024
1 parent 7f025d6 commit a846781
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dhall-lsp-server/tests/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ import Test.Tasty.Hspec
import Test.Hspec
#endif

import qualified Data.Text as T
import qualified Data.Text as T
import qualified GHC.IO.Encoding
import qualified System.Environment as Environment

baseDir :: FilePath -> FilePath
baseDir d = "tests/fixtures/" <> d
Expand Down Expand Up @@ -209,6 +210,7 @@ diagnosticsSpec fixtureDir = do
main :: IO ()
main = do
GHC.IO.Encoding.setLocaleEncoding GHC.IO.Encoding.utf8
Environment.setEnv "TASTY_NUM_THREADS" "1"
diagnostics <- testSpec "Diagnostics" (diagnosticsSpec (baseDir "diagnostics"))
linting <- testSpec "Linting" (lintingSpec (baseDir "linting"))
completion <- testSpec "Completion" (codeCompletionSpec (baseDir "completion"))
Expand Down

0 comments on commit a846781

Please sign in to comment.