ci: --pedantic is too much for now

This commit is contained in:
Simon Michael 2020-03-07 14:53:12 -08:00
parent 08cfcc4f2b
commit be25c28822
5 changed files with 9 additions and 8 deletions

View File

@ -172,8 +172,8 @@ jobs:
- name: Build hledger and test unit tests, doc tests
run: |
stack $ARGS build --pedantic --test --bench
# --ghc-options=-Werror --no-terminal # --no-run-benchmarks
stack $ARGS build --test --bench --ghc-options=-Werror
# --pedantic --no-terminal # --no-run-benchmarks
env:
ARGS: ${{ matrix.plan.resolver }}

View File

@ -117,8 +117,8 @@ jobs:
- name: Build hledger and test unit tests, doc tests
run: |
stack build --pedantic --test
# --ghc-options=-Werror
stack build --test --ghc-options=-Werror
# --pedantic
- name: Install shelltestrunner
run: |

View File

@ -108,8 +108,8 @@ jobs:
- name: Build hledger fast
run: |
stack build --fast --pedantic
# --ghc-options=-Werror
stack build --fast --ghc-options=-Werror
# --pedantic
- name: Install shelltestrunner
run: |

View File

@ -139,8 +139,8 @@ jobs:
- name: Build hledger executables
run: |
stack --no-terminal install --pedantic
# --ghc-options=-Werror
stack --no-terminal install --ghc-options=-Werror
# --pedantic
# run hledger-lib/hledger functional tests, skipping the ones for addons
#- COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons

View File

@ -27,6 +27,7 @@ import System.Environment
import "Glob" System.FilePath.Glob
import Test.DocTest
main :: IO ()
main = do
args <- getArgs
let