From 6300c3e10dbbbae6ea26195f998a5c86155a0fa3 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Sun, 9 Oct 2022 11:53:35 +0200 Subject: CI: build and test all components --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1cebe4d26..b59b741f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,14 +99,14 @@ jobs: - name: Install dependencies run: | cabal update - cabal build ${{ matrix.versions.cabalopts }} --dependencies-only --enable-tests --disable-optimization + cabal build all ${{ matrix.versions.cabalopts }} --dependencies-only --enable-tests --disable-optimization - name: Build and test run: | cabal build ${{ matrix.versions.cabalopts }} --enable-tests --disable-optimization 2>&1 | tee build.log # fail if warnings in local build ! grep -q ": *[Ww]arning:" build.log || exit 1 - cabal test ${{ matrix.versions.cabalopts }} --disable-optimization ${{ matrix.versions.testopts }} + cabal test all ${{ matrix.versions.cabalopts }} --disable-optimization ${{ matrix.versions.testopts }} windows: @@ -191,4 +191,3 @@ jobs: # # fail if warnings in local build # ! grep -q ": *[Ww]arning:" build.log || exit 1 # cabal v2-test --disable-optimization --test-option=--hide-successes --test-option=--ansi-tricks=false - -- cgit v1.2.3