Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
isidore authored Dec 10, 2021
1 parent 9e40da4 commit 8f8eb74
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
on: push

jobs:
test:
build:
runs-on: ubuntu-latest
strategy:
matrix:
cabal: ["3.4"]
ghc: ["8.8.4", "8.10.5", "9.0.1"]
env:
CONFIG: "--enable-tests --enable-benchmarks"
steps:
- uses: actions/checkout@v2
- name: Haskell cabal-cache
uses: haskell-works/cabal-cache-action@master
- uses: actions/[email protected]
- uses: haskell/actions/[email protected]
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- run: cabal update
- run: cabal install --lib HUnit
- run: runhaskell code.hs

0 comments on commit 8f8eb74

Please sign in to comment.