ci: Fix weeder not stopping CI on error

Removes dead code that was unnoticed

Signed-off-by: Wolfgang Walther <walther@technowledgy.de>
This commit is contained in:
Wolfgang Walther
2022-01-28 17:12:32 +01:00
committed by Wolfgang Walther
parent 0ea36fc039
commit 2fe2c9104b
2 changed files with 4 additions and 7 deletions
+4 -1
View File
@@ -133,7 +133,10 @@ let
# build once before running all the tests
${cabal-install}/bin/cabal v2-build ${devCabalOptions} exe:postgrest lib:postgrest test:spec test:querycost
${haskellPackages.weeder}/bin/weeder --config=./test/weeder.dhall || echo Found dead code: Check file list above.
(
trap 'echo Found dead code: Check file list above.' ERR ;
${haskellPackages.weeder}/bin/weeder --config=./test/weeder.dhall
)
# collect all tests
HPCTIXFILE="$tmpdir"/io.tix \