aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci.sh8
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
38findTestFiles () { 38findTestFiles () {
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
42if [ "$1" = "misc" ]; then 42if [ "$1" = "misc" ]; then