graphql-engine/server/lib/test-harness/test-harness.cabal
Samir Talwar bc8c7406df Remove native MySQL dependencies and code wherever I found it.
This includes:

  - CI scripts
  - Cabal dependency lists
  - Dockerfiles
  - Docker Compose files
  - server test harness code

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9066
GitOrigin-RevId: 509d7931693c4755509d5b8e5bcf50b42cc24769
2023-05-05 22:20:55 +00:00

180 lines
3.9 KiB
Plaintext

cabal-version: 2.2
name: test-harness
version: 0.1.0.0
library
build-depends:
, Spock-core
, aeson
, aeson-pretty
, aeson-qq
, async
, attoparsec
, base
, bytestring
, case-insensitive
, conduit
, containers
, data-has
, dc-api
, directory
, ekg-core
, fast-logger
, graphql-engine
, graphql-parser
, haskell-src-meta
, hasura-base
, hasura-extras
, hasura-prelude
, hedgehog
, hspec
, hspec-core
, http-client
, http-conduit
, http-types
, insert-ordered-containers
, lens
, lens-aeson
, libyaml
, lifted-base
, managed
, morpheus-graphql
, mtl
, network
, odbc
, openapi3
, parsec
, pg-client
, postgres-options
, postgresql-simple
, pretty-show
, pretty-simple
, process
, refined
, resourcet
, safe
, safe-exceptions
, servant-server
, servant-client
, sop-core
, stm
, string-interpolate
, template-haskell
, text
, th-lift
, th-lift-instances
, these
, time
, typed-process
, unordered-containers
, uuid
, vector
, warp
, websockets
, yaml
hs-source-dirs: src
default-language: Haskell2010
default-extensions:
BangPatterns
BlockArguments
DeriveLift
DerivingStrategies
FlexibleContexts
FlexibleInstances
GADTs
GeneralisedNewtypeDeriving
ImportQualifiedPost
LambdaCase
MultiParamTypeClasses
NamedFieldPuns
NoImplicitPrelude
OverloadedStrings
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
TypeSynonymInstances
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
exposed-modules:
Harness.Backend.BigQuery
Harness.Backend.Citus
Harness.Backend.Cockroach
Harness.Backend.DataConnector.Chinook
Harness.Backend.DataConnector.Chinook.Reference
Harness.Backend.DataConnector.Chinook.Sqlite
Harness.Backend.DataConnector.Mock
Harness.Backend.DataConnector.Mock.Server
Harness.Backend.DataConnector.Sqlite
Harness.Backend.Postgres
Harness.Backend.Sqlserver
Harness.Constants
Harness.DataConnectorAgent
Harness.Env
Harness.Exceptions
Harness.GlobalTestEnvironment
Harness.GraphqlEngine
Harness.Http
Harness.Logging
Harness.Logging.Messages
Harness.PassthroughEnvVars
Harness.Permissions
Harness.PytestPortedCompat
Harness.Quoter.Graphql
Harness.Quoter.Yaml
Harness.Quoter.Yaml.InterpolateYaml
Harness.RemoteServer
Harness.Schema
Harness.Schema.LogicalModel
Harness.Schema.Name
Harness.Schema.NativeQuery
Harness.Schema.StoredProcedure
Harness.Schema.Table
Harness.Services.Composed
Harness.Services.Database.Postgres
Harness.Services.GraphqlEngine
Harness.Services.Metadata
Harness.Services.Schema
Harness.Services.Source.Postgres
Harness.Subscriptions
Harness.Test.BackendType
Harness.Test.CustomOptions
Harness.Test.Fixture
Harness.Test.FixtureName
Harness.Test.Introspection
Harness.Test.Protocol
Harness.Test.ScalarType
Harness.Test.SetupAction
Harness.Test.TestResource
Harness.TestEnvironment
Harness.UniqueTestId
Harness.WebSockets
Harness.Webhook
Harness.Yaml
other-modules:
Harness.Permissions.Metadata
Harness.Permissions.Types