add and use RequestParseException in Network.Wai.Parse #281
Workflow file for this run
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: | |
stack: | |
name: Stack | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
args: | |
- "--resolver nightly --stack-yaml stack-nightly.yaml" | |
- "--resolver lts-21" | |
- "--resolver lts-20 --stack-yaml stack-lts-20.yaml" | |
- "--resolver lts-19 --stack-yaml stack-lts-19.yaml" | |
- "--resolver lts-18 --stack-yaml stack-lts-18.yaml" | |
steps: | |
- name: Clone project | |
uses: actions/checkout@v4 | |
# 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 upgrade | |
stack --version | |
EXTRA="" | |
if [[ ${{ matrix.os }} = "windows-latest" ]] | |
then | |
EXTRA="--no-run-tests" | |
fi | |
stack test --no-terminal ${{ matrix.args }} --haddock --no-haddock-deps --bench --no-run-benchmarks $EXTRA |