From 29f9fe5e1801e2022ef93332481a4797b27dc65f Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Thu, 25 Jul 2024 20:29:56 -0700 Subject: [PATCH] ci: try unconditionally exposing Test.Sandwich-Contexts.PostgreSQL --- sandwich-contexts/package.yaml | 6 ++---- sandwich-contexts/sandwich-contexts.cabal | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/sandwich-contexts/package.yaml b/sandwich-contexts/package.yaml index 20b19584..dc77ab44 100644 --- a/sandwich-contexts/package.yaml +++ b/sandwich-contexts/package.yaml @@ -37,10 +37,11 @@ library: - Test.Sandwich.Contexts.FakeSmtpServer - Test.Sandwich.Contexts.Files - Test.Sandwich.Contexts.Nix - - Test.Sandwich.Contexts.Waits + - Test.Sandwich.Contexts.PostgreSQL - Test.Sandwich.Contexts.Types.Network - Test.Sandwich.Contexts.Types.S3 - Test.Sandwich.Contexts.Util.Ports + - Test.Sandwich.Contexts.Waits dependencies: - aeson - conduit @@ -70,9 +71,6 @@ library: - unliftio-core - vector when: - - condition: "!os(windows)" - exposed-modules: - - Test.Sandwich.Contexts.PostgreSQL - condition: "impl(ghc >= 9.6)" dependencies: - crypton-connection diff --git a/sandwich-contexts/sandwich-contexts.cabal b/sandwich-contexts/sandwich-contexts.cabal index 8271b699..f6465166 100644 --- a/sandwich-contexts/sandwich-contexts.cabal +++ b/sandwich-contexts/sandwich-contexts.cabal @@ -19,10 +19,11 @@ library Test.Sandwich.Contexts.FakeSmtpServer Test.Sandwich.Contexts.Files Test.Sandwich.Contexts.Nix - Test.Sandwich.Contexts.Waits + Test.Sandwich.Contexts.PostgreSQL Test.Sandwich.Contexts.Types.Network Test.Sandwich.Contexts.Types.S3 Test.Sandwich.Contexts.Util.Ports + Test.Sandwich.Contexts.Waits other-modules: Test.Sandwich.Contexts.FakeSmtpServer.Derivation Test.Sandwich.Contexts.ReverseProxy.TCP @@ -79,9 +80,6 @@ library , unliftio-core , vector default-language: Haskell2010 - if !os(windows) - exposed-modules: - Test.Sandwich.Contexts.PostgreSQL if impl(ghc >= 9.6) build-depends: crypton-connection