Cabal file fixes. Fix tests in CI with cabal too.

This commit is contained in:
John J. Camilleri
2021-07-08 14:26:41 +02:00
parent c02a3e0617
commit 639f1f043a
2 changed files with 4 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ jobs:
- name: Test
run: |
cabal test gf-tests
PATH="$PWD/dist/build/gf:$PATH" cabal test gf-tests --show-details=direct
stack:
name: stack / ghc ${{ matrix.ghc }}

View File

@@ -576,7 +576,7 @@ test-suite lpgf
else
other-modules: GF.System.NoSignal
build-depends:
ansi-terminal,
ansi-terminal >= 0.6.3 && < 0.12,
array >= 0.5.1 && < 0.6,
base >=4.6 && < 5,
bytestring >= 0.10.8 && < 0.11,
@@ -598,9 +598,9 @@ test-suite lpgf
unordered-containers >= 0.2.8 && < 0.3,
utf8-string >= 1.0.1.1 && < 1.1
if impl(ghc<8)
if impl(ghc<8.0)
build-depends:
ghc-prim >= 0.5.0 && < 0.7
fail >= 4.9.0 && < 4.10
if os(windows)
build-depends: