espial/.github/workflows/tests.yml

37 lines
725 B
YAML
Raw Permalink Normal View History

2021-09-29 17:04:50 +00:00
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
2022-04-14 18:41:35 +00:00
#resolver:
2021-09-29 17:04:50 +00:00
#- nightly
2022-04-14 18:41:35 +00:00
#- lts-18.7
2021-09-29 17:04:50 +00:00
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
2022-04-14 18:41:35 +00:00
../_newstack/stack test --fast --no-terminal