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
|
2023-03-02 14:35:02 +03:00
|
|
|
, case-insensitive
|
2022-10-04 11:30:09 +03:00
|
|
|
, 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
|
2023-04-21 16:13:58 +03:00
|
|
|
, hasura-extras
|
2022-10-04 11:30:09 +03:00
|
|
|
, hasura-prelude
|
2022-12-15 19:00:39 +03:00
|
|
|
, hedgehog
|
2022-10-04 11:30:09 +03:00
|
|
|
, hspec
|
|
|
|
, hspec-core
|
2023-02-02 07:26:29 +03:00
|
|
|
, http-client
|
2022-10-04 11:30:09 +03:00
|
|
|
, 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
|
2023-02-02 07:26:29 +03:00
|
|
|
, lifted-base
|
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
|
2023-02-02 07:26:29 +03:00
|
|
|
, servant-client
|
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
|
2023-03-13 21:13:56 +03:00
|
|
|
, these
|
2022-10-04 11:30:09 +03:00
|
|
|
, 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
|
2023-02-02 07:26:29 +03:00
|
|
|
Harness.DataConnectorAgent
|
2022-11-03 13:56:52 +03:00
|
|
|
Harness.Env
|
|
|
|
Harness.Exceptions
|
2023-03-30 20:57:27 +03:00
|
|
|
Harness.GlobalTestEnvironment
|
2022-11-03 13:56:52 +03:00
|
|
|
Harness.GraphqlEngine
|
|
|
|
Harness.Http
|
2022-11-09 17:54:49 +03:00
|
|
|
Harness.Logging
|
|
|
|
Harness.Logging.Messages
|
2023-03-30 20:57:27 +03:00
|
|
|
Harness.PassthroughEnvVars
|
2023-03-16 19:06:37 +03:00
|
|
|
Harness.Permissions
|
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-03-29 20:39:06 +03:00
|
|
|
Harness.Schema
|
2023-04-19 12:03:36 +03:00
|
|
|
Harness.Schema.LogicalModel
|
2023-03-29 20:39:06 +03:00
|
|
|
Harness.Schema.Name
|
|
|
|
Harness.Schema.Table
|
2023-01-03 17:03:35 +03:00
|
|
|
Harness.Services.Composed
|
2023-04-05 21:03:43 +03:00
|
|
|
Harness.Services.Database.Postgres
|
2023-01-03 17:03:35 +03:00
|
|
|
Harness.Services.GraphqlEngine
|
2023-03-22 12:54:22 +03:00
|
|
|
Harness.Services.Metadata
|
2023-04-05 21:03:43 +03:00
|
|
|
Harness.Services.Schema
|
|
|
|
Harness.Services.Source.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
|
2023-03-02 14:35:02 +03:00
|
|
|
Harness.Test.Protocol
|
2023-03-20 12:53:42 +03:00
|
|
|
Harness.Test.ScalarType
|
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
|
2023-03-30 20:57:27 +03:00
|
|
|
Harness.UniqueTestId
|
2023-03-02 14:35:02 +03:00
|
|
|
Harness.WebSockets
|
2023-03-29 20:39:06 +03:00
|
|
|
Harness.Webhook
|
2022-11-03 13:56:52 +03:00
|
|
|
Harness.Yaml
|
2023-03-16 19:06:37 +03:00
|
|
|
|
|
|
|
other-modules:
|
|
|
|
Harness.Permissions.Metadata
|
|
|
|
Harness.Permissions.Types
|