commit 986e44abbe3a3b43a580a0e49ae60992f7986c51 Author: Efim Poberezkin Date: Mon Jan 11 22:21:35 2021 +0400 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> diff --git a/workflows/ci.yml b/workflows/ci.yml new file mode 100644 index 0000000000..860b3b8c07 --- /dev/null +++ b/workflows/ci.yml @@ -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