Skip to content

Commit 395d65f

Browse files
committed
CI: disable ansi-tricks in tasty.
This will prevent the test output from being overwhelmed with headings from passing tests.
1 parent d87c44e commit 395d65f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,22 +62,22 @@ jobs:
6262
cabal: '3.2'
6363
prefix: ''
6464
cabalopts: ''
65-
testopts: '--test-option=--hide-successes'
65+
testopts: '--test-option=--hide-successes --test-option=--ansi-tricks=false'
6666
- ghc: '8.8.4'
6767
cabal: '3.2'
6868
prefix: ''
6969
cabalopts: ''
70-
testopts: '--test-option=--hide-successes'
70+
testopts: '--test-option=--hide-successes --test-option=--ansi-tricks=false'
7171
- ghc: '8.10.4'
7272
cabal: '3.2'
7373
prefix: ''
7474
cabalopts: '-ftrypandoc'
75-
testopts: '--test-option=--hide-successes'
75+
testopts: '--test-option=--hide-successes --test-option=--ansi-tricks=false'
7676
- ghc: '9.0.1'
7777
cabal: '3.4'
7878
prefix: ''
7979
cabalopts: ''
80-
testopts: '--test-option=--hide-successes'
80+
testopts: '--test-option=--hide-successes --test-option=--ansi-tricks=false'
8181
steps:
8282
- uses: actions/checkout@v2
8383

@@ -166,7 +166,7 @@ jobs:
166166
- name: Build and test
167167
shell: cmd
168168
run: |
169-
stack test --fast --test-arguments=--hide-successes
169+
stack test --fast --test-arguments="--hide-successes --ansi-tricks=false"
170170
171171
macos:
172172

@@ -216,7 +216,7 @@ jobs:
216216
cabal v2-build --enable-tests --disable-optimization 2>&1 | tee build.log
217217
# fail if warnings in local build
218218
! grep -q ": *[Ww]arning:" build.log || exit 1
219-
cabal v2-test --disable-optimization
219+
cabal v2-test --disable-optimization --test-option=--hide-successes --test-option=--ansi-tricks=false
220220
221221
benchmark:
222222

0 commit comments

Comments
 (0)