cabal-version: 3.0
name: tmp-proc-postgres
version: 0.7.0.0
synopsis: Launch a PostgreSQL database in docker using tmp-proc
description:
Demos how to use tmp-proc to run a PostgreSQL database in docker in a unittest.
license: BSD-3-Clause
license-file: LICENSE
copyright: 2021 Tim Emiola
author: Tim Emiola
maintainer: adetokunbo@users.noreply.github.com
category: testing, docker
bug-reports: https://github.com/adetokunbo/tmp-proc/issues
build-type: Simple
extra-source-files:
ChangeLog.md
tested-with: GHC ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.5
source-repository head
type: git
location: https://github.com/adetokunbo/tmp-proc.git
subdir: tmp-proc-postgres
library
exposed-modules: System.TmpProc.Docker.Postgres
hs-source-dirs: src
build-depends:
, base >=4.11 && <5
, bytestring >=0.10.8.2 && <0.12.2
, postgresql-simple >=0.5.4 && <0.8
, text >=1.2.3.0 && <1.3 || >=2.0 && <2.2
, tmp-proc >=0.5.3 && <0.8
default-language: Haskell2010
ghc-options: -fno-ignore-asserts -Wall
test-suite integration-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules: Test.TmpProc.Docker.PostgresSpec
hs-source-dirs: test
build-depends:
, base
, bytestring
, hspec
, hspec-tmp-proc
, postgresql-simple
, text
, tmp-proc
, tmp-proc-postgres
default-language: Haskell2010
ghc-options:
-threaded -rtsopts -with-rtsopts=-N -fno-ignore-asserts -Wall