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 - name: Build hledger and test unit tests, doc tests
run: | run: |
stack $ARGS build --pedantic --test --bench stack $ARGS build --test --bench --ghc-options=-Werror
# --ghc-options=-Werror --no-terminal # --no-run-benchmarks # --pedantic --no-terminal # --no-run-benchmarks
env: env:
ARGS: ${{ matrix.plan.resolver }} ARGS: ${{ matrix.plan.resolver }}

View File

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

View File

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

View File

@ -139,8 +139,8 @@ jobs:
- name: Build hledger executables - name: Build hledger executables
run: | run: |
stack --no-terminal install --pedantic stack --no-terminal install --ghc-options=-Werror
# --ghc-options=-Werror # --pedantic
# run hledger-lib/hledger functional tests, skipping the ones for addons # run hledger-lib/hledger functional tests, skipping the ones for addons
#- COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /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 "Glob" System.FilePath.Glob
import Test.DocTest import Test.DocTest
main :: IO ()
main = do main = do
args <- getArgs args <- getArgs
let let