Skip to content

Commit 2252e0d

Browse files
committed
add CI
1 parent 501206c commit 2252e0d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Haskell CI
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- name: Setup
9+
run: stack setup
10+
- name: Build
11+
run: stack build
12+
- name: Run tests
13+
run: |
14+
export PATH="$(dirname "$(stack exec -- which ghc)"):$PATH"
15+
make test

0 commit comments

Comments
 (0)