Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
resolver: [nightly, lts-17, lts-16, lts-14]
resolver: [nightly, lts-20, lts-19]
# Bugs in GHC make it crash too often to be worth running
#exclude:
# - os: windows-latest
Expand Down
4 changes: 1 addition & 3 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@ tests:
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- base64-bytestring
- hspec == 2.*
- hspec >= 2.8.3 && < 3
- temporary
- typed-process
typed-process-test-single-threaded:
Expand Down
7 changes: 7 additions & 0 deletions test/SpecHook.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module SpecHook where

import Test.Hspec
import GHC.Conc

hook :: Spec -> Spec
hook spec = runIO (getNumProcessors >>= setNumCapabilities) >> parallel spec