Skip to content

Commit e1e03c7

Browse files
committed
improve testing script
1 parent 9f92456 commit e1e03c7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

testing.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,9 @@ for cwl in v1.0/*.cwl; do echo ${cwl}; cwl-upgrader ${cwl} > v1.1/${cwl##v1.0/};
77
cp conformance_test_v1.0.yaml conformance_test_v1.0_to_v1_1.yaml
88
sed -i 's=v1.0/=v1.1/=g' conformance_test_v1.0_to_v1_1.yaml
99
cwltest --test conformance_test_v1.0_to_v1_1.yaml --tool cwltool -j$(nproc)
10-
if (find v1.1/ -type f | xargs grep cwlVersion | grep v1.0) ; then false; else true; fi
10+
if
11+
find v1.1/ -type f | xargs grep cwlVersion | grep -v basename-fields-job.yml | grep v1.0
12+
then false
13+
else true
14+
fi
1115

0 commit comments

Comments
 (0)