From 9118a4a78012eda6fe44d0cc26b96fb40b89fd86 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sat, 10 Apr 2021 16:27:24 +0200 Subject: [PATCH] fix random codecov/project drops in CI, resolves #1800 Those are caused by running the spec tests with `-threaded`, which results in a race to write to spec.tix. --- postgrest.cabal | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/postgrest.cabal b/postgrest.cabal index 02bf4b7b9..59431f98f 100644 --- a/postgrest.cabal +++ b/postgrest.cabal @@ -224,8 +224,7 @@ test-suite spec , transformers-base >= 0.4.4 && < 0.5 , wai >= 3.2.1 && < 3.3 , wai-extra >= 3.0.19 && < 3.2 - ghc-options: -threaded -rtsopts -with-rtsopts=-N - -O0 -Werror -Wall -fwarn-identities + ghc-options: -O0 -Werror -Wall -fwarn-identities -fno-spec-constr -optP-Wno-nonportable-include-path -fno-warn-missing-signatures