aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-10 16:08:26 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-12-14 09:11:27 +0100
commit12554857b410506b9e748bb0deac09d3e7393963 (patch)
treea553040be0e211ba8e9b50f4b14fb9160da52d1c /.github
parent17ae86e9128c090b02494dd1ba10bdc41cd86936 (diff)
downloadPeerTube-12554857b410506b9e748bb0deac09d3e7393963.tar.gz
PeerTube-12554857b410506b9e748bb0deac09d3e7393963.tar.zst
PeerTube-12554857b410506b9e748bb0deac09d3e7393963.zip
Display error logs in CI
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 0231b1a1e..76fe5d6e3 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -95,10 +95,9 @@ jobs:
95 if: github.event_name == 'schedule' || matrix.test_suite != 'external-plugins' 95 if: github.event_name == 'schedule' || matrix.test_suite != 'external-plugins'
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 directories state 98 - name: Display errors
99 if: failure()
100 run: | 99 run: |
101 ls -l test* 100 NODE_ENV=test node dist/scripts/parse-log.js -l error -f artifacts/*.log
102 101
103 - name: Upload logs 102 - name: Upload logs
104 uses: actions/upload-artifact@v2 103 uses: actions/upload-artifact@v2