Run all of the dhall package's tests on Appveyor. (#1142)

This entails a bunch of surgery to the package set used with LTS 6.
Because I was seeing errors, I disabled allow-newer and found this
consistent package set. I also needed a newer version of `tls`, which
entailed a bunch of bumps.
This commit is contained in:
quasicomputational 2019-08-20 15:38:01 +01:00 committed by mergify[bot]
parent 93711aecf8
commit 4c6d76e4a8
4 changed files with 58 additions and 8 deletions

View File

@ -12,6 +12,7 @@ environment:
# Override the temp directory to avoid sed escaping issues
# See https://github.com/haskell/cabal/issues/5386
TMP: c:\tmp
LANG: en_US.UTF-8
matrix:
- STACK_YAML: stack.yaml
@ -48,9 +49,9 @@ for:
- 7z a "bin\dhall-bash-%DEPLOY_SUFFIX%" "%APPVEYOR_BUILD_FOLDER%\bin\dhall-to-bash.exe"
- 7z a "bin\dhall-lsp-server-%DEPLOY_SUFFIX%" "%APPVEYOR_BUILD_FOLDER%\bin\dhall-lsp-server.exe"
# stack is not able to build test dependencies with lts-6
test_script:
- stack test dhall:tasty
# chcp 65001 (utf-8) needed to make doctest work
- chcp 65001 && stack test dhall
- stack test dhall-json
- stack test dhall-bash
# - stack test dhall-lsp-server # Disabled while the tests are broken.
@ -71,6 +72,10 @@ for:
- 7z a "bin\dhall-%DEPLOY_SUFFIX%" "%APPVEYOR_BUILD_FOLDER%\bin\dhall.exe"
- 7z a "bin\dhall-bash-%DEPLOY_SUFFIX%" "%APPVEYOR_BUILD_FOLDER%\bin\dhall-to-bash.exe"
test_script:
# chcp 65001 (utf-8) needed to make doctest work
- chcp 65001 && stack test dhall
artifacts:
- path: bin\dhall-%DEPLOY_SUFFIX%
name: dhall

View File

@ -17,6 +17,7 @@ module Dhall.Test.Dhall where
import Control.Exception (SomeException, try)
import Data.Functor.Foldable.TH (makeBaseFunctor)
import Data.Monoid ((<>))
import Data.String (fromString)
import Data.Text (Text)
import Dhall (Inject, Interpret)

View File

@ -25,6 +25,7 @@ import Data.Text (Text)
import Dhall.Context (Context)
import Dhall.Core (Expr, Normalizer, ReifiedNormalizer(..), Import)
import Dhall.Import (Status)
import Data.Monoid((<>))
import Dhall.Parser (Src)
import Dhall.TypeCheck (X)
import Prelude hiding (FilePath)

View File

@ -3,7 +3,7 @@ packages:
- dhall
- dhall-bash
extra-deps:
- ansi-terminal-0.7.1.1
- ansi-terminal-0.9.1
- either-5
- ansi-wl-pprint-0.6.8.2
- cryptonite-0.24
@ -17,13 +17,13 @@ extra-deps:
- basement-0.0.6
- prettyprinter-1.2.0.1
- prettyprinter-ansi-terminal-1.1.1.2
- directory-1.2.7.1
- directory-1.3.4.0
- foundation-0.0.19
- process-1.6.2.0
- repline-0.2.1.0
- haskeline-0.7.4.2
- aeson-1.2.3.0
- th-abstraction-0.2.6.0
- aeson-1.4.4.0
- th-abstraction-0.3.1.0
- cborg-0.2.1.0
- serialise-0.2.1.0
- shell-escape-0.2.0
@ -31,7 +31,7 @@ extra-deps:
- dotgen-0.4.2
- aeson-pretty-0.8.7
- transformers-compat-0.6.4
- exceptions-0.10.1
- exceptions-0.8.3
- mmorph-1.1.3
- monad-control-1.0.2.3
- resourcet-1.1.11
@ -39,6 +39,50 @@ extra-deps:
- unliftio-core-0.1.2.0
- yaml-0.10.4.0
- recursion-schemes-5.1.3
- cabal-doctest-1.0.6
- QuickCheck-2.13.2
- tasty-quickcheck-0.10.1
- tasty-1.2.3
- splitmix-0.0.2
- semigroupoids-5.3.2
- base-orphans-0.8.1
- tagged-0.8.6
- Cabal-2.4.1.0
- parsec-3.1.13.0
- text-1.2.3.1
- profunctors-5.4
- wcwidth-0.0.2
- foldl-1.4.5
- quickcheck-instances-0.3.22
- base-compat-0.10.5
- hashable-1.2.7.0
- semigroups-0.18.5
- time-compat-1.9.2.2
- vector-builder-0.3.7.2
- case-insensitive-1.2.1.0
- scientific-0.3.6.2
- unordered-containers-0.2.10.0
- uuid-types-1.0.3
- contravariant-1.5.2
- dlist-0.8.0.6
- primitive-0.6.3.0
- vector-0.12.0.3
- StateVar-1.2
- integer-logarithms-1.0.3
- attoparsec-0.13.2.2
- tls-1.4.1
- x509-1.7.5
- x509-validation-1.6.11
- x509-store-1.6.7
- x509-system-1.6.6
- mintty-0.1.2
- Win32-2.6.2.0
- unix-compat-0.5.1
- system-fileio-0.3.16.4
- time-1.8.0.4
- th-lift-instances-0.1.13
- th-lift-0.8.0.1
- unix-2.7.2.2
flags:
transformers-compat:
four: true
@ -46,4 +90,3 @@ nix:
packages:
- ncurses
- zlib
allow-newer: true