Skip to content

Commit

Permalink
Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-rouse committed Mar 18, 2022
1 parent 4f3ff63 commit a118fe1
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Tests

on:
pull_request:
push:
branches:
- master

jobs:
build:
name: CI
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
resolver:
#- nightly
- lts-18
- lts-16
- lts-14

steps:
- name: Clone project
uses: actions/checkout@v2

- name: Build and run tests
shell: bash
run: |
set -ex
stack upgrade
stack --version
stack test --fast --no-terminal --resolver=${{ matrix.resolver }}
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-17.9
resolver: lts-18.28
packages:
- .
extra-deps: []

0 comments on commit a118fe1

Please sign in to comment.