2019-08-06 16:37:30 -07:00
|
|
|
name: Haskell CI
|
2019-07-29 09:38:23 -07:00
|
|
|
|
2019-08-06 16:37:30 -07:00
|
|
|
on: [push]
|
2019-07-29 09:38:23 -07:00
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
build:
|
2019-08-06 16:37:30 -07:00
|
|
|
|
2019-07-29 09:38:23 -07:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
2019-08-06 16:37:30 -07:00
|
|
|
steps:
|
2019-08-14 10:43:09 -04:00
|
|
|
- uses: actions/checkout@v1
|
2019-07-29 09:38:23 -07:00
|
|
|
- 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
|