Skip to content

Sanitise fake email domain #109

Sanitise fake email domain

Sanitise fake email domain #109

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- master
jobs:
build:
name: CI
runs-on: ${{ matrix.os }}
env:
STACK_ROOT: ${{ github.workspace }}/.stack
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
stack-yaml: stack.yaml
resolver: nightly
- os: ubuntu-latest
stack-yaml: stack.yaml
resolver: lts-18
- os: ubuntu-latest
stack-yaml: stack-lts-16.yaml
resolver: lts-16
- os: macos-latest
stack-yaml: stack.yaml
resolver: nightly
- os: macos-latest
stack-yaml: stack.yaml
resolver: lts-18
- os: macos-latest
stack-yaml: stack-lts-16.yaml
resolver: lts-16
- os: windows-latest
stack-yaml: stack.yaml
resolver: lts-18
steps:
- name: Clone project
uses: actions/checkout@v2
with:
submodules: 'true'
- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
~/.stack
${{ github.workspace }}/.stack
key: ${{ runner.os }}-${{ matrix.resolver }}-haskell-${{ hashFiles('stack.yaml') }}
restore-keys: |
${{ runner.os }}-${{ matrix.resolver }}-haskell-
- name: Build and run tests
shell: bash
run: |
set -ex
if [ "$RUNNER_OS" == "Linux" ] || [ "$RUNNER_OS" == "macOS" ]; then
curl -sSL https://get.haskellstack.org/ | sh -s - -f
fi
stack test --fast --no-terminal --stack-yaml=${{ matrix.stack-yaml }} --resolver=${{ matrix.resolver }}