polysemy/polysemy-plugin/test
Samuel Evans-Powell 95b4b5508c Feature/cabal doctest and ghc 8.8.1 (#267)
* Use cabal-doctest

- Haskell build tools run in slightly different environments (meaning different
  package databases are available).
- The nixpkgs build for polysemy-plugin is failing due to a missing package
  database, which causes the doctest to fail (more information here:
  https://github.com/NixOS/nixpkgs/issues/71164).
- By using cabal-doctest we can expose the Haskell packages required to the
  doctests no matter the build tool we're using.

* Use cabal-doctest in polysemy, build on GHC 8.8.1

- Use @googleson78 's changes to build polysemy on GHC 8.8.1, with slight
  modifications. The source distribution is now found in "dist-newstyle/sdist",
  so we've updated the command to point at that folder. Additionally, cabal
  v2-install doesn't support installing .tar.gz files in the same way v1-install
  did, so updated the command to use "cabal v1-install".
- Modified polysemy to use "cabal-doctest" and so overcome issues with the
  doctest tests (see issue #258, PR #265).
2019-10-28 17:13:44 +01:00
..
BadSpec.hs Revert "Let plugin solve stuck type rows + bug fixes in interpreter mode (#245)" (#249) 2019-10-09 14:35:07 +02:00
DoctestSpec.hs Feature/cabal doctest and ghc 8.8.1 (#267) 2019-10-28 17:13:44 +01:00
ExampleSpec.hs Add Final Effect (#217) 2019-08-30 22:38:53 +02:00
LegitimateTypeErrorSpec.hs Rename Lift to Embed (#161) 2019-07-11 11:02:26 -04:00
Main.hs Let plugin deal with incorrect polymorphism 2019-05-01 15:13:51 -04:00
MultipleVarsSpec.hs polysemy-plugin: Reject ununifiable effect candidates early (#221) 2019-09-04 17:11:01 +02:00
PluginSpec.hs Rename everything and its grandmother (#175) 2019-07-15 12:40:42 -04:00
TypeErrors.hs Fix ambiguously looking variables in smart constructors, refactor Polysemy.Internal.TH.Common 2019-07-08 21:52:29 +02:00
VDQSpec.hs Improve CI coverage -- now on GHC 8.4! (#39) 2019-06-19 17:25:37 -04:00