diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-10 16:38:12 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-12-14 09:11:27 +0100 |
commit | 34caef7fc0710623c6894549423813d53f65b303 (patch) | |
tree | cadfce6e39ea0712ed556e8dc7ba3c64ea36e158 /scripts | |
parent | 12554857b410506b9e748bb0deac09d3e7393963 (diff) | |
download | PeerTube-34caef7fc0710623c6894549423813d53f65b303.tar.gz PeerTube-34caef7fc0710623c6894549423813d53f65b303.tar.zst PeerTube-34caef7fc0710623c6894549423813d53f65b303.zip |
Add joblog at the end of ci
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh index 84254cbc0..dd4c28356 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh | |||
@@ -27,16 +27,16 @@ runTest () { | |||
27 | 27 | ||
28 | joblog="$jobname-ci.log" | 28 | joblog="$jobname-ci.log" |
29 | 29 | ||
30 | parallel -t -j $jobs --retries $retries --joblog "$joblog" \ | 30 | parallel -j $jobs \ |
31 | npm run mocha -- -c --timeout 30000 --exit --require ts-node/register --require tsconfig-paths/register --bail \ | 31 | "echo Trying {} >> $joblog; npm run mocha -- -c --timeout 30000 --exit --require ts-node/register --require tsconfig-paths/register --bail {}" \ |
32 | ::: $files | 32 | ::: $files |
33 | 33 | ||
34 | cat "$joblog" | 34 | cat "$joblog" | uniq -c |
35 | rm "$joblog" | 35 | rm "$joblog" |
36 | } | 36 | } |
37 | 37 | ||
38 | findTestFiles () { | 38 | findTestFiles () { |
39 | find $1 -type f -name "*.ts" | grep -v index.ts | xargs echo | 39 | find $1 -type f -name "*.ts" | grep -v "/index.ts" | xargs echo |
40 | } | 40 | } |
41 | 41 | ||
42 | if [ "$1" = "misc" ]; then | 42 | if [ "$1" = "misc" ]; then |