Fix cabal command in linux ci.

This commit is contained in:
John MacFarlane
2019-09-22 18:15:44 -07:00
parent 74e25c5480
commit 1138d5bb36
+1 -1
View File
@@ -65,7 +65,7 @@ jobs:
- name: Build and test
run: |
export PATH=/opt/cabal/bin:/opt/ghc/bin:$PATH
cabal v2-install --enable-tests --run-tests --disable-optimization 2>&1 | tee build.log
cabal v2-test --enable-tests --run-tests --disable-optimization 2>&1 | tee build.log
# fail if warnings in local build
! grep -q "[Ww]arning:" build.log