diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2019-10-02 08:31:39 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2019-10-02 08:31:39 -0700 |
| commit | 6644200a929ce2d6f146914d48633e64a8d9e258 (patch) | |
| tree | 287bb0a56947fb3666ec6cf623f85df970678725 /.github/workflows | |
| parent | 1d4ea54aaab1fc2efa0835d573622e93dbd2b796 (diff) | |
| download | pandoc-6644200a929ce2d6f146914d48633e64a8d9e258.tar.gz | |
ci: properly fail if warnings on linux build.
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index abcb3d6e0..eb1d9a3e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,7 +65,7 @@ jobs: export PATH=/opt/cabal/bin:/opt/ghc/bin:$PATH cabal v2-build --enable-tests --disable-optimization 2>&1 | tee build.log # fail if warnings in local build - ! grep -q ": *[Ww]arning:" build.log + ! grep -q ": *[Ww]arning:" build.log || exit 1 cabal v2-test --disable-optimization windows: |
