Try to fix cabal check failure on CI
commit455b48dc7dda8d1986baef911d5cec182ebb47ba
authorMichael Snoyman <michael@snoyman.com>
dateMon 24 Jun 2019, 08:46 (7 years ago)
parent1322975
.azure/azure-linux-template.yml+2−6
@@ -84,7 +84,7 @@ jobs:
8484 for dir in $PACKAGES
8585 do
8686 cd $dir
87− cabal check || [ "$CABALVER" == "1.16" ]
87+ cabal check || [ "$CABALVER" == "1.22" ] # https://github.com/yesodweb/wai/pull/754#issuecomment-504866279
8888 cabal sdist
8989 PKGVER=$(cabal info . | awk '{print $2;exit}')
9090 SRC_TGZ=$PKGVER.tar.gz
@@ -93,11 +93,7 @@ jobs:
9393 cd "$PKGVER"
9494 cabal configure --enable-tests --ghc-options -O0
9595 cabal build
96− if [ "$CABALVER" = "1.16" ] || [ "$CABALVER" = "1.18" ]; then
97− cabal test
98− else
99− cabal test --show-details=streaming
100− fi
96+ cabal test --show-details=streaming
10197 cd $ORIGDIR
10298 done
10399 ;;