From 6b97e75537a70805e4ecf60ec8ba7b44642b7c40 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 5 Jan 2025 18:25:17 +0800 Subject: [PATCH] Only run bench on linux --- .github/workflows/test.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e67772dc..fcfae47c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -48,13 +48,15 @@ jobs: cabal test --test-show-details=direct filepath-tests cabal test --test-show-details=direct --test-options='--quickcheck-tests 50_000' filepath-equivalent-tests cabal test --test-show-details=direct abstract-filepath - cabal bench cabal haddock cabal check cabal sdist shell: bash - - if: matrix.os == 'ubuntu-latest' + - if: runner.os == 'Linux' + run: cabal bench + + - if: runner.os == 'Linux' name: make all run: | set -eux