Skip to content

Commit

Permalink
ci: another try on windows postgres module
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Jul 26, 2024
1 parent 08d0a82 commit f36a473
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sandwich-contexts/lib/Test/Sandwich/Contexts/PostgreSQL.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TypeOperators #-}

module Test.Sandwich.Contexts.PostgreSQL (
#ifndef mingw32_HOST_OS
-- * Raw PostgreSQL via Nix (TCP socket)
introducePostgresViaNix
, withPostgresViaNix
Expand All @@ -26,8 +28,10 @@ module Test.Sandwich.Contexts.PostgreSQL (

-- * Re-exports
, NetworkAddress(..)
#endif
) where

#ifndef mingw32_HOST_OS
import Control.Monad.Catch (MonadMask)
import Control.Monad.IO.Unlift
import Control.Monad.Logger
Expand Down Expand Up @@ -336,3 +340,5 @@ waitForPostgresDatabase (PostgresContainerOptions {..}) (containerName, p) = do
-- waitForSimpleQuery pc

return pc

#endif

0 comments on commit f36a473

Please sign in to comment.