From 655ad77de1e1afd899b34622f4e77816efd67673 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 23 Jul 2025 08:54:52 -0700 Subject: 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. --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3