Skip to content

Commit ed7c1ac

Browse files
Use hspec's parallel evaluation (#65)
1 parent 9d0b00a commit ed7c1ac

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

constrained-generators.cabal

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ test-suite constrained-tests
138138
-Wredundant-constraints
139139
-Wunused-packages
140140
-rtsopts
141+
-threaded
142+
-with-rtsopts=-N
141143

142144
build-depends:
143145
QuickCheck >= 2.15.0.1,

test/Tests.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ import Test.Hspec
99
main :: IO ()
1010
main = do
1111
nightly <- isJust <$> lookupEnv "NIGHTLY"
12-
hspec $ do
12+
hspec $ parallel $ do
1313
Tests.tests nightly
1414
Graph.tests nightly

0 commit comments

Comments
 (0)