Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GHC9 Doctest Problem Minimal Demonstration #311

Closed
wants to merge 20 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
ghc8_10:
ghc9_0:
# The type of runner that the job will run on
runs-on: ubuntu-latest

Expand All @@ -33,10 +33,10 @@ jobs:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
with:
ghc-version: '8.10.5' # Exact version of ghc to use
# cabal-version: 'latest'. Omitted, but defalts to 'latest'
enable-stack: true
stack-version: 'latest'
stack-no-global: true
stack-setup-ghc: true

- name: build
run: stack build --fast
Expand All @@ -63,7 +63,7 @@ jobs:
".stack-work"
"/root/.stack/"
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
ghc8_8:
ghc8_10:
# The type of runner that the job will run on
runs-on: ubuntu-latest

Expand All @@ -85,16 +85,16 @@ jobs:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
with:
ghc-version: '8.8.4' # Exact version of ghc to use
# cabal-version: 'latest'. Omitted, but defalts to 'latest'
enable-stack: true
stack-version: 'latest'
stack-no-global: true
stack-setup-ghc: true

- name: build
run: stack build --fast
run: stack build --fast --stack-yaml stack-ghc8_10.yaml

- name: test
run: stack test --fast
run: stack test --fast --stack-yaml stack-ghc8_10.yaml
env:
PG_USER: postgres
PG_HOST: localhost
Expand All @@ -103,10 +103,10 @@ jobs:
PG_PORT: ${{ job.services.postgres.ports['5432'] }}

- name: benchmark
run: stack bench --fast
run: stack bench --fast --stack-yaml stack-ghc8_10.yaml

- name: documentation
run: stack haddock --fast
run: stack haddock --fast --stack-yaml stack-ghc8_10.yaml

- name: cache
uses: actions/cache@v2
Expand All @@ -115,7 +115,7 @@ jobs:
".stack-work"
"/root/.stack/"
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
ghc8_6:
ghc8_8:
# The type of runner that the job will run on
runs-on: ubuntu-latest

Expand All @@ -137,16 +137,16 @@ jobs:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
with:
ghc-version: '8.6.5' # Exact version of ghc to use
# cabal-version: 'latest'. Omitted, but defalts to 'latest'
enable-stack: true
stack-version: 'latest'
stack-no-global: true
stack-setup-ghc: true

- name: build
run: stack build --fast
run: stack build --fast --stack-yaml stack-ghc8_8.yaml

- name: test
run: stack test --fast
run: stack test --fast --stack-yaml stack-ghc8_8.yaml
env:
PG_USER: postgres
PG_HOST: localhost
Expand All @@ -155,10 +155,10 @@ jobs:
PG_PORT: ${{ job.services.postgres.ports['5432'] }}

- name: benchmark
run: stack bench --fast
run: stack bench --fast --stack-yaml stack-ghc8_8.yaml

- name: documentation
run: stack haddock --fast
run: stack haddock --fast --stack-yaml stack-ghc8_8.yaml

- name: cache
uses: actions/cache@v2
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ cabal.sandbox.config
cabal.project.local
.DS_Store
stack.yaml.lock
*.yaml.lock
tags
.*.swp
Loading