aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-01-04 10:52:27 +0100
committerChocobozzz <me@florianbigard.com>2021-01-04 10:52:27 +0100
commit4f5a90ef5e183c54520d98af3c74f11fb3ab46a4 (patch)
tree02209181246708c2ff782e605f8d0a7cfb63107c /.github/workflows/test.yml
parentf0484f7a16ba8d14f8ce788398467307f4d23e1d (diff)
downloadPeerTube-4f5a90ef5e183c54520d98af3c74f11fb3ab46a4.tar.gz
PeerTube-4f5a90ef5e183c54520d98af3c74f11fb3ab46a4.tar.zst
PeerTube-4f5a90ef5e183c54520d98af3c74f11fb3ab46a4.zip
Always display errors from tests
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index f942dfa2b..fb6774ce0 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -96,6 +96,7 @@ jobs:
96 run: NODE_PENDING_JOB_WAIT=2000 npm run ci -- ${{ matrix.test_suite }} 96 run: NODE_PENDING_JOB_WAIT=2000 npm run ci -- ${{ matrix.test_suite }}
97 97
98 - name: Display errors 98 - name: Display errors
99 if: ${{ always() }}
99 run: | 100 run: |
100 (test -f dist/scripts/parse-log.js && NODE_ENV=test node dist/scripts/parse-log.js -l error -f artifacts/*.log) || \ 101 (test -f dist/scripts/parse-log.js && NODE_ENV=test node dist/scripts/parse-log.js -l error -f artifacts/*.log) || \
101 echo "parse-log.js script does not exist, skipping." 102 echo "parse-log.js script does not exist, skipping."