File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ jobs:
122
122
- run :
123
123
name : Run image tests
124
124
command : ./.circleci/orca_generate.sh
125
+ no_output_timeout : 2m
125
126
- store_artifacts :
126
127
path : build
127
128
destination : /
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ find $TEST_IMAGES -type f -name "*.png" -printf "%f\n" | \
49
49
# sort | \
50
50
# head -n 20 | \
51
51
# xargs -n1 -P16 -I {} bash -c "echo {} && ./node_modules/.bin/pixelmatch $1/{} $2/{} diff/{} 0 true" | tee results.txt
52
- xargs -n1 -P8 -I {} bash -c " compare -verbose -metric AE $TEST_IMAGES /{} $BASELINES /{} $DIFF_IMAGES /{} 2> $DIFF_IMAGES /{}.txt"
52
+ xargs -n1 -P ` nproc ` -I {} bash -c " compare -verbose -metric AE $TEST_IMAGES /{} $BASELINES /{} $DIFF_IMAGES /{} 2> $DIFF_IMAGES /{}.txt"
53
53
54
54
CODE=$( grep -R " all: [^0]" $DIFF_IMAGES / | wc -l)
55
55
grep -l -R " all: [^0]" $DIFF_IMAGES / | gawk ' {match($0, /diff\/([^.]*)/, arr); print arr[1]}'
You can’t perform that action at this time.
0 commit comments