2022-10-04 11:30:09 +03:00
|
|
|
cabal-version: 2.2
|
|
|
|
name: test-harness
|
|
|
|
version: 0.1.0.0
|
|
|
|
|
|
|
|
library
|
|
|
|
build-depends:
|
|
|
|
, Spock-core
|
|
|
|
, aeson
|
|
|
|
, aeson-pretty
|
2023-01-25 10:12:53 +03:00
|
|
|
, aeson-qq
|
2022-10-04 11:30:09 +03:00
|
|
|
, async
|
2023-01-03 17:03:35 +03:00
|
|
|
, attoparsec
|
2022-10-04 11:30:09 +03:00
|
|
|
, base
|
|
|
|
, bytestring
|
|
|
|
, conduit
|
|
|
|
, containers
|
2023-01-03 17:03:35 +03:00
|
|
|
, data-has
|
2022-10-04 11:30:09 +03:00
|
|
|
, dc-api
|
2023-01-03 17:03:35 +03:00
|
|
|
, directory
|
2022-10-04 11:30:09 +03:00
|
|
|
, ekg-core
|
|
|
|
, fast-logger
|
|
|
|
, graphql-engine
|
2023-01-11 05:36:03 +03:00
|
|
|
, graphql-parser
|
2022-10-04 11:30:09 +03:00
|
|
|
, haskell-src-meta
|
|
|
|
, hasura-prelude
|
2022-12-15 19:00:39 +03:00
|
|
|
, hedgehog
|
2022-10-04 11:30:09 +03:00
|
|
|
, hspec
|
|
|
|
, hspec-core
|
|
|
|
, http-conduit
|
|
|
|
, http-types
|
|
|
|
, insert-ordered-containers
|
2022-10-25 12:04:49 +03:00
|
|
|
, lens
|
|
|
|
, lens-aeson
|
2023-01-03 17:03:35 +03:00
|
|
|
, libyaml
|
2022-11-10 11:36:36 +03:00
|
|
|
, managed
|
2022-10-04 11:30:09 +03:00
|
|
|
, morpheus-graphql
|
|
|
|
, mtl
|
|
|
|
, mysql-simple
|
|
|
|
, network
|
|
|
|
, odbc
|
|
|
|
, openapi3
|
|
|
|
, parsec
|
|
|
|
, pg-client
|
2022-12-01 17:47:34 +03:00
|
|
|
, postgres-options
|
2023-01-03 17:03:35 +03:00
|
|
|
, postgresql-simple
|
2022-12-15 19:00:39 +03:00
|
|
|
, pretty-show
|
2023-01-03 17:03:35 +03:00
|
|
|
, pretty-simple
|
|
|
|
, process
|
2022-10-04 11:30:09 +03:00
|
|
|
, refined
|
|
|
|
, resourcet
|
2023-01-06 18:34:59 +03:00
|
|
|
, safe
|
2022-10-04 11:30:09 +03:00
|
|
|
, safe-exceptions
|
2023-01-03 17:03:35 +03:00
|
|
|
, servant-server
|
2022-10-11 03:25:07 +03:00
|
|
|
, sop-core
|
2022-10-25 12:04:49 +03:00
|
|
|
, stm
|
2022-11-03 17:53:04 +03:00
|
|
|
, string-interpolate
|
2022-10-04 11:30:09 +03:00
|
|
|
, template-haskell
|
|
|
|
, text
|
|
|
|
, th-lift
|
|
|
|
, th-lift-instances
|
|
|
|
, time
|
|
|
|
, typed-process
|
|
|
|
, unordered-containers
|
|
|
|
, uuid
|
|
|
|
, vector
|
|
|
|
, warp
|
|
|
|
, websockets
|
|
|
|
, yaml
|
|
|
|
|
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
default-extensions:
|
2022-10-25 12:04:49 +03:00
|
|
|
BangPatterns
|
2022-10-04 11:30:09 +03:00
|
|
|
BlockArguments
|
|
|
|
DeriveLift
|
|
|
|
DerivingStrategies
|
|
|
|
FlexibleContexts
|
|
|
|
FlexibleInstances
|
|
|
|
GADTs
|
|
|
|
GeneralisedNewtypeDeriving
|
|
|
|
ImportQualifiedPost
|
|
|
|
LambdaCase
|
2023-01-03 17:03:35 +03:00
|
|
|
MultiParamTypeClasses
|
2022-10-04 11:30:09 +03:00
|
|
|
NamedFieldPuns
|
|
|
|
NoImplicitPrelude
|
|
|
|
OverloadedStrings
|
|
|
|
RankNTypes
|
|
|
|
RecordWildCards
|
|
|
|
ScopedTypeVariables
|
|
|
|
StandaloneDeriving
|
|
|
|
TupleSections
|
|
|
|
TypeApplications
|
|
|
|
TypeSynonymInstances
|
|
|
|
|
2023-01-30 14:23:08 +03:00
|
|
|
ghc-options:
|
|
|
|
-Werror
|
|
|
|
-- Taken from https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
|
|
|
|
-Weverything
|
|
|
|
-Wno-missing-exported-signatures
|
|
|
|
-Wno-missing-import-lists
|
|
|
|
-Wno-missed-specialisations
|
|
|
|
-Wno-all-missed-specialisations
|
|
|
|
-Wno-unsafe
|
|
|
|
-Wno-safe
|
|
|
|
-Wno-missing-local-signatures
|
|
|
|
-Wno-monomorphism-restriction
|
|
|
|
-Wno-missing-kind-signatures
|
|
|
|
-Wno-missing-safe-haskell-mode
|
|
|
|
-- We want these warnings, but the code doesn't satisfy them yet:
|
|
|
|
-Wno-missing-deriving-strategies
|
|
|
|
-Wno-unused-packages
|
|
|
|
-Wno-redundant-constraints
|
2022-10-04 11:30:09 +03:00
|
|
|
|
|
|
|
exposed-modules:
|
|
|
|
Harness.Backend.BigQuery
|
|
|
|
Harness.Backend.Citus
|
|
|
|
Harness.Backend.Cockroach
|
2022-10-18 08:32:35 +03:00
|
|
|
Harness.Backend.DataConnector.Chinook
|
|
|
|
Harness.Backend.DataConnector.Chinook.Reference
|
|
|
|
Harness.Backend.DataConnector.Chinook.Sqlite
|
2022-11-03 13:56:52 +03:00
|
|
|
Harness.Backend.DataConnector.Mock
|
|
|
|
Harness.Backend.DataConnector.Mock.Server
|
2022-10-18 01:52:00 +03:00
|
|
|
Harness.Backend.DataConnector.Sqlite
|
2022-10-04 11:30:09 +03:00
|
|
|
Harness.Backend.Postgres
|
|
|
|
Harness.Backend.Sqlserver
|
2022-11-03 13:56:52 +03:00
|
|
|
Harness.Constants
|
|
|
|
Harness.Env
|
|
|
|
Harness.Exceptions
|
|
|
|
Harness.GraphqlEngine
|
|
|
|
Harness.Http
|
2022-11-09 17:54:49 +03:00
|
|
|
Harness.Logging
|
|
|
|
Harness.Logging.Messages
|
2022-11-25 18:39:12 +03:00
|
|
|
Harness.PytestPortedCompat
|
2022-11-03 13:56:52 +03:00
|
|
|
Harness.Quoter.Graphql
|
|
|
|
Harness.Quoter.Yaml
|
|
|
|
Harness.Quoter.Yaml.InterpolateYaml
|
|
|
|
Harness.RemoteServer
|
2023-01-03 17:03:35 +03:00
|
|
|
Harness.Services.Composed
|
|
|
|
Harness.Services.GraphqlEngine
|
|
|
|
Harness.Services.Postgres
|
2022-11-03 13:56:52 +03:00
|
|
|
Harness.Subscriptions
|
2022-10-04 11:30:09 +03:00
|
|
|
Harness.Test.BackendType
|
|
|
|
Harness.Test.CustomOptions
|
|
|
|
Harness.Test.Fixture
|
2022-12-21 14:56:51 +03:00
|
|
|
Harness.Test.FixtureName
|
2022-10-04 11:30:09 +03:00
|
|
|
Harness.Test.Introspection
|
|
|
|
Harness.Test.Permissions
|
2022-11-03 13:56:52 +03:00
|
|
|
Harness.Test.Schema
|
2022-10-04 11:30:09 +03:00
|
|
|
Harness.Test.SchemaName
|
2022-11-08 14:42:38 +03:00
|
|
|
Harness.Test.SetupAction
|
2022-11-10 11:36:36 +03:00
|
|
|
Harness.Test.TestResource
|
2022-11-03 13:56:52 +03:00
|
|
|
Harness.TestEnvironment
|
|
|
|
Harness.Webhook
|
|
|
|
Harness.Yaml
|