Skip to content

Commit 8736092

Browse files
author
Houdi
committed
chore(ci): print failing test markers on error
1 parent 6746bef commit 8736092

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
run: |
3131
set -o pipefail
3232
node --test dist/**/*.test.js > ci-test.log 2>&1 || {
33+
echo "---- failing markers (not ok / ERR / Error) ----"
34+
grep -nE "not ok|ERR_|Error \\[|failureType|exitCode" ci-test.log | tail -n 80 || true
3335
echo "---- tail(ci-test.log) ----"
3436
tail -n 200 ci-test.log || true
3537
details=$(tail -n 60 ci-test.log | sed -e 's/%/%25/g' -e 's/\r/%0D/g' -e ':a;N;$!ba;s/\n/%0A/g')

0 commit comments

Comments
 (0)