circleci tweak - move up cabal v2-test.
This commit is contained in:
parent
d086a190d5
commit
218565b229
1 changed files with 1 additions and 1 deletions
|
@ -59,13 +59,13 @@ commands:
|
|||
cd *
|
||||
cabal v2-build -w ghc-<< parameters.ghcversion >> -j2 --dependencies-only --enable-tests --ghc-options="${GHC_OPTS}" all
|
||||
cabal v2-build -w ghc-<< parameters.ghcversion >> -j2 --enable-tests --ghc-options="${GHC_OPTS}" all 2>build.log
|
||||
cabal v2-test -w ghc-<< parameters.ghcversion >> --ghc-options="${GHC_OPTS}" 2>build.log
|
||||
cat build.log
|
||||
# fail if we had warnings in local build
|
||||
# this is to work around the fact that cabal v2 doesn't allow
|
||||
# us to use -Werror for just local build:
|
||||
# https://github.com/haskell/cabal/issues/4247
|
||||
! grep -q "warning:" build.log
|
||||
cabal v2-test -w ghc-<< parameters.ghcversion >> --ghc-options="${GHC_OPTS}" 2>build.log
|
||||
cabal v2-haddock -w ghc-<< parameters.ghcversion >> --ghc-options="${GHC_OPTS}"
|
||||
cabal check
|
||||
- *save
|
||||
|
|
Loading…
Reference in a new issue