aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-09-08 09:01:25 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-09-08 09:02:28 -0700
commit395d65fdbe398e42270acfe6a76ad98a00ecb35d (patch)
tree4a4e05d1d7292cdc254ad675a0ee473b09cdf0aa /.github
parentd87c44ed3a63e6536adb02b9663ad2a63dfbd58a (diff)
downloadpandoc-395d65fdbe398e42270acfe6a76ad98a00ecb35d.tar.gz
CI: disable ansi-tricks in tasty.
This will prevent the test output from being overwhelmed with headings from passing tests.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3b8a72efa..c75fcd213 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -62,22 +62,22 @@ jobs:
cabal: '3.2'
prefix: ''
cabalopts: ''
- testopts: '--test-option=--hide-successes'
+ testopts: '--test-option=--hide-successes --test-option=--ansi-tricks=false'
- ghc: '8.8.4'
cabal: '3.2'
prefix: ''
cabalopts: ''
- testopts: '--test-option=--hide-successes'
+ testopts: '--test-option=--hide-successes --test-option=--ansi-tricks=false'
- ghc: '8.10.4'
cabal: '3.2'
prefix: ''
cabalopts: '-ftrypandoc'
- testopts: '--test-option=--hide-successes'
+ testopts: '--test-option=--hide-successes --test-option=--ansi-tricks=false'
- ghc: '9.0.1'
cabal: '3.4'
prefix: ''
cabalopts: ''
- testopts: '--test-option=--hide-successes'
+ testopts: '--test-option=--hide-successes --test-option=--ansi-tricks=false'
steps:
- uses: actions/checkout@v2
@@ -166,7 +166,7 @@ jobs:
- name: Build and test
shell: cmd
run: |
- stack test --fast --test-arguments=--hide-successes
+ stack test --fast --test-arguments="--hide-successes --ansi-tricks=false"
macos:
@@ -216,7 +216,7 @@ jobs:
cabal v2-build --enable-tests --disable-optimization 2>&1 | tee build.log
# fail if warnings in local build
! 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: