CI: disable ansi-tricks in tasty.
This will prevent the test output from being overwhelmed with headings from passing tests.
This commit is contained in:
parent
d87c44ed3a
commit
395d65fdbe
1 changed files with 6 additions and 6 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -62,22 +62,22 @@ jobs:
|
||||||
cabal: '3.2'
|
cabal: '3.2'
|
||||||
prefix: ''
|
prefix: ''
|
||||||
cabalopts: ''
|
cabalopts: ''
|
||||||
testopts: '--test-option=--hide-successes'
|
testopts: '--test-option=--hide-successes --test-option=--ansi-tricks=false'
|
||||||
- ghc: '8.8.4'
|
- ghc: '8.8.4'
|
||||||
cabal: '3.2'
|
cabal: '3.2'
|
||||||
prefix: ''
|
prefix: ''
|
||||||
cabalopts: ''
|
cabalopts: ''
|
||||||
testopts: '--test-option=--hide-successes'
|
testopts: '--test-option=--hide-successes --test-option=--ansi-tricks=false'
|
||||||
- ghc: '8.10.4'
|
- ghc: '8.10.4'
|
||||||
cabal: '3.2'
|
cabal: '3.2'
|
||||||
prefix: ''
|
prefix: ''
|
||||||
cabalopts: '-ftrypandoc'
|
cabalopts: '-ftrypandoc'
|
||||||
testopts: '--test-option=--hide-successes'
|
testopts: '--test-option=--hide-successes --test-option=--ansi-tricks=false'
|
||||||
- ghc: '9.0.1'
|
- ghc: '9.0.1'
|
||||||
cabal: '3.4'
|
cabal: '3.4'
|
||||||
prefix: ''
|
prefix: ''
|
||||||
cabalopts: ''
|
cabalopts: ''
|
||||||
testopts: '--test-option=--hide-successes'
|
testopts: '--test-option=--hide-successes --test-option=--ansi-tricks=false'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
@ -166,7 +166,7 @@ jobs:
|
||||||
- name: Build and test
|
- name: Build and test
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
stack test --fast --test-arguments=--hide-successes
|
stack test --fast --test-arguments="--hide-successes --ansi-tricks=false"
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
|
|
||||||
|
@ -216,7 +216,7 @@ jobs:
|
||||||
cabal v2-build --enable-tests --disable-optimization 2>&1 | tee build.log
|
cabal v2-build --enable-tests --disable-optimization 2>&1 | tee build.log
|
||||||
# fail if warnings in local build
|
# fail if warnings in local build
|
||||||
! grep -q ": *[Ww]arning:" build.log || exit 1
|
! grep -q ": *[Ww]arning:" build.log || exit 1
|
||||||
cabal v2-test --disable-optimization
|
cabal v2-test --disable-optimization --test-option=--hide-successes --test-option=--ansi-tricks=false
|
||||||
|
|
||||||
benchmark:
|
benchmark:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue