Skip to content

Commit

Permalink
Merge pull request #29 from jonschoning/actions
Browse files Browse the repository at this point in the history
setup actions
  • Loading branch information
jonschoning committed Sep 29, 2021
2 parents 71938b3 + 8b7ca74 commit 9e53a09
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/tests.yml
@@ -0,0 +1,36 @@
name: Tests

on:
pull_request:
push:
branches:
- master
workflow_dispatch:

jobs:
build:
name: CI
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
#-macos-latest
#-windows-latest
resolver:
#- nightly
- lts-18.7

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

- name: Build and run tests
shell: bash
run: |
set -ex
mkdir -p ../_newstack
stack upgrade --force-download --local-bin-path ../_newstack
../_newstack/stack --version
../_newstack/stack test --fast --no-terminal --resolver=${{ matrix.resolver }}

0 comments on commit 9e53a09

Please sign in to comment.