Skip to content

Commit

Permalink
don't build benchmarks on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlix committed May 26, 2024
1 parent 85bd62f commit e6d9363
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,12 @@ jobs:
run: |
set -ex
EXTRA=""
BENCH="--bench"
if [[ ${{ matrix.os }} = "windows-latest" ]]
then
EXTRA="--no-run-tests"
elif [[ ${{ matrix.os }} = "macos-latest" ]]
then
BENCH=""
fi
stack test --no-terminal ${{ matrix.args }} --haddock --no-haddock-deps --bench --no-run-benchmarks $EXTRA
stack test --no-terminal ${{ matrix.args }} --haddock --no-haddock-deps $BENCH --no-run-benchmarks $EXTRA

0 comments on commit e6d9363

Please sign in to comment.