aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-07-23 08:54:52 -0700
committerJohn MacFarlane <[email protected]>2025-07-23 08:54:52 -0700
commit655ad77de1e1afd899b34622f4e77816efd67673 (patch)
tree4b83620dd70abbc87875e9affa9dae34ac7b1ef7
parentb84ab366e68e0c31a270e4b508636d6e002d6ff1 (diff)
Fix CI so that -Wall -Werror works again!
We were only getting the return status for the tests, apparently, from `cabal test`. So now we run `cabal build` separately.
-rw-r--r--.github/workflows/ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e31fa85d2..c156e4967 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -120,7 +120,8 @@ jobs:
- name: Build and test
run: |
- cabal test ${{ matrix.versions.cabalopts }} --enable-tests --disable-optimization --ghc-options="${{ matrix.verisons.ghcopts }}" all
+ cabal build ${{ matrix.versions.cabalopts }} --enable-tests --disable-optimization --ghc-options="${{ matrix.verisons.ghcopts }}" all
+ cabal test ${{ matrix.versions.cabalopts }} --disable-optimization --ghc-options="${{ matrix.verisons.ghcopts }}" all
linux-stack: