Add Github Actions config
This commit is contained in:
parent
d632a30d05
commit
915264acae
1 changed files with 19 additions and 0 deletions
19
.github/workflows/haskell.yml
vendored
Normal file
19
.github/workflows/haskell.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
name: Haskell CI
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Install dependencies
|
||||
run: cabal install --only-dependencies --enable-tests
|
||||
- name: Build
|
||||
run: |
|
||||
cabal configure --enable-tests
|
||||
cabal build
|
||||
- name: Run tests
|
||||
run: cabal test
|
Loading…
Reference in a new issue