Support hspec 2.11

This commit is contained in:
Eugen Wissner 2023-04-25 00:21:58 +02:00
parent 408dfb4301
commit 3ed7dcd401
Signed by: belka
GPG Key ID: A27FDC1E8EE902C0
3 changed files with 6 additions and 18 deletions

View File

@ -6,7 +6,9 @@ The format is based on
and this project adheres to
[Haskell Package Versioning Policy](https://pvp.haskell.org/).
## [Unreleased]
## [1.2.0.1] - 2023-04-25
### Fixed
- Support hspec 2.11.
## [1.2.0.0] - 2023-02-28
### Added
@ -506,6 +508,7 @@ and this project adheres to
### Added
- Data types for the GraphQL language.
[1.2.0.1]: https://git.caraus.tech/OSS/graphql/compare/v1.2.0.0...v1.2.0.1
[1.2.0.0]: https://git.caraus.tech/OSS/graphql/compare/v1.1.0.0...v1.2.0.0
[1.1.0.0]: https://git.caraus.tech/OSS/graphql/compare/v1.0.3.0...v1.1.0.0
[1.0.3.0]: https://git.caraus.tech/OSS/graphql/compare/v1.0.2.0...v1.0.3.0

View File

@ -1,7 +1,7 @@
cabal-version: 2.4
name: graphql
version: 1.2.0.0
version: 1.2.0.1
synopsis: Haskell GraphQL implementation
description: Haskell <https://spec.graphql.org/June2018/ GraphQL> implementation.
category: Language
@ -97,7 +97,7 @@ test-suite graphql-test
conduit,
exceptions,
graphql,
hspec ^>= 2.10.9,
hspec >= 2.10.9 && < 2.12,
hspec-expectations ^>= 0.8.2,
hspec-megaparsec ^>= 2.2.0,
megaparsec,

15
test.sh
View File

@ -1,15 +0,0 @@
#!/bin/sh
# setup
cabal update
# doc
cabal haddock --enable-documentation --with-compiler=/srv/httpd/server/ghcup/9.2/bin/ghc
# lint
cabal install hlint --with-compiler=/srv/httpd/server/ghcup/9.2/bin/ghc --overwrite-policy=always "--constraint=hlint ==3.5"
cabal exec hlint -- src tests
# test
cabal build graphql-test --with-compiler=/srv/httpd/server/ghcup/9.2/bin/ghc
cabal test --test-show-details=direct --with-compiler=/srv/httpd/server/ghcup/9.2/bin/ghc