about summary refs log tree commit diff
path: root/.github/workflows/haskell.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/haskell.yml')
-rw-r--r--.github/workflows/haskell.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml
new file mode 100644
index 000000000000..9b6cb1ab84d0
--- /dev/null
+++ b/.github/workflows/haskell.yml
@@ -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