diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-10 16:08:26 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-12-14 09:11:27 +0100 |
commit | 12554857b410506b9e748bb0deac09d3e7393963 (patch) | |
tree | a553040be0e211ba8e9b50f4b14fb9160da52d1c | |
parent | 17ae86e9128c090b02494dd1ba10bdc41cd86936 (diff) | |
download | PeerTube-12554857b410506b9e748bb0deac09d3e7393963.tar.gz PeerTube-12554857b410506b9e748bb0deac09d3e7393963.tar.zst PeerTube-12554857b410506b9e748bb0deac09d3e7393963.zip |
Display error logs in CI
-rw-r--r-- | .github/workflows/test.yml | 5 |
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 |