diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-14 09:20:38 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-14 09:20:38 +0100 |
commit | 5ec8a71f8471bbbd6b8e77bae2550cc28930f9ab (patch) | |
tree | 74ec01d6a904990d7554493ee8242a44771b7367 | |
parent | 606bcaf29eca4c37f0a6db718f7b83529ed88496 (diff) | |
download | PeerTube-5ec8a71f8471bbbd6b8e77bae2550cc28930f9ab.tar.gz PeerTube-5ec8a71f8471bbbd6b8e77bae2550cc28930f9ab.tar.zst PeerTube-5ec8a71f8471bbbd6b8e77bae2550cc28930f9ab.zip |
Try to display job log in specific stage
-rw-r--r-- | .github/workflows/test.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 01b442ed3..fe9851dc7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml | |||
@@ -98,7 +98,11 @@ jobs: | |||
98 | - name: Display errors | 98 | - name: Display errors |
99 | if: ${{ always() }} | 99 | if: ${{ always() }} |
100 | run: | | 100 | run: | |
101 | (test -f dist/scripts/parse-log.js && NODE_ENV=test node dist/scripts/parse-log.js -l error -f artifacts/*.log) || \ | 101 | ( \ |
102 | test -f dist/scripts/parse-log.js && \ | ||
103 | cat *-ci.log | uniq -c && \ | ||
104 | NODE_ENV=test node dist/scripts/parse-log.js -l error -f artifacts/*.log \ | ||
105 | ) || \ | ||
102 | echo "parse-log.js script does not exist, skipping." | 106 | echo "parse-log.js script does not exist, skipping." |
103 | 107 | ||
104 | - name: Upload logs | 108 | - name: Upload logs |