Always apply jsAttributes to scritps in body (#1836) #302
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | |
args: | |
#- "--resolver nightly" | |
- "--resolver nightly-2022-02-11" | |
- "--resolver lts-18" | |
- "--resolver lts-16" | |
- "--resolver lts-14" | |
# Bugs in GHC make it crash too often to be worth running | |
exclude: | |
- os: windows-latest | |
args: "--resolver nightly" | |
- os: macos-latest | |
args: "--resolver lts-16" | |
- os: macos-latest | |
args: "--resolver lts-14" | |
steps: | |
- name: Clone project | |
uses: actions/checkout@v2 | |
# Getting weird OS X errors... | |
# - name: Cache dependencies | |
# uses: actions/cache@v1 | |
# with: | |
# path: ~/.stack | |
# key: ${{ runner.os }}-${{ matrix.resolver }}-${{ hashFiles('stack.yaml') }} | |
# restore-keys: | | |
# ${{ runner.os }}-${{ matrix.resolver }}- | |
- name: Build and run tests | |
shell: bash | |
run: | | |
set -ex | |
stack --version | |
stack test --fast --no-terminal ${{ matrix.args }} |