GitHub workflow for tests (#7)

* ci: add github workflow for tests

* ci: break test

* ci: fix folder name

* ci: fix test

* ci: break test

* fix test

Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
This commit is contained in:
Efim Poberezkin
2021-01-11 22:21:35 +04:00
committed by GitHub
co-authored by Evgeny Poberezkin
commit 986e44abbe
+25
View File
@@ -0,0 +1,25 @@
# Base: https://github.com/haskell/actions/tree/main/setup#usage
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
test:
name: Tests
runs-on: ubuntu-latest # TODO matrix testing
steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
with:
ghc-version: '8.8.3' # Exact version of ghc to use
# cabal-version: 'latest'. Omitted, but defalts to 'latest'
enable-stack: true
stack-version: 'latest'
- run: stack test