From 34caef7fc0710623c6894549423813d53f65b303 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 10 Dec 2020 16:38:12 +0100 Subject: Add joblog at the end of ci --- scripts/ci.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts') 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 () { joblog="$jobname-ci.log" - parallel -t -j $jobs --retries $retries --joblog "$joblog" \ - npm run mocha -- -c --timeout 30000 --exit --require ts-node/register --require tsconfig-paths/register --bail \ + parallel -j $jobs \ + "echo Trying {} >> $joblog; npm run mocha -- -c --timeout 30000 --exit --require ts-node/register --require tsconfig-paths/register --bail {}" \ ::: $files - cat "$joblog" + cat "$joblog" | uniq -c rm "$joblog" } findTestFiles () { - find $1 -type f -name "*.ts" | grep -v index.ts | xargs echo + find $1 -type f -name "*.ts" | grep -v "/index.ts" | xargs echo } if [ "$1" = "misc" ]; then -- cgit v1.2.3