diff options
-rw-r--r-- | .github/workflows/ci.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1a5e3b0f..5337527ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -239,12 +239,12 @@ jobs: run: | v2=$([ "${{ matrix.versions.cabal }}" = "2.2" ] && printf 'new' || printf 'v2') cabal $v2-update - cabal $v2-build --dependencies-only --enable-optimization=1 --enable-benchmarks + cabal $v2-build --dependencies-only --enable-optimization=1 --enable-benchmarks --disable-tests - name: Build and test run: | v2=$([ "${{ matrix.versions.cabal }}" = "2.2" ] && printf 'new' || printf 'v2') - cabal $v2-build --enable-optimization=1 --enable-benchmarks 2>&1 | tee build.log + cabal $v2-build --enable-optimization=1 --enable-benchmarks --disable-tests 2>&1 | tee build.log # fail if warnings in local build ! grep -q ": *[Ww]arning:" build.log || exit 1 - cabal $v2-bench --enable-optimization=1 + cabal $v2-bench --enable-optimization=1 --benchmark-options='--timeout=6 +RTS -T -RTS' |