ci/haskell.yml: properly build dependencies, tests and benchmarks

This commit is contained in:
Fumiaki Kinoshita
2020-02-13 16:24:06 +09:00
parent ecc93c42b3
commit 89a7d6d6fd
+3 -5
View File
@@ -20,10 +20,8 @@ jobs:
- name: Install dependencies
run: |
cabal update
cabal install --only-dependencies --enable-tests
cabal build --only-dependencies --enable-tests --enable-benchmarks
- name: Build
run: |
cabal configure --enable-tests
cabal build
run: cabal build --enable-tests --enable-benchmarks all
- name: Run tests
run: cabal test
run: cabal test all