Skip to content

Commit cebbd70

Browse files
committed
Remove rename-split tests from cloud test pipeline
1 parent 4561ba6 commit cebbd70

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

.github/workflows/test_cloud_runner.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -297,38 +297,6 @@ jobs:
297297
exit 2
298298
fi
299299
300-
- name: Print rename-split-to-pp successes or failures (FAILURE-GUARDED)
301-
continue-on-error: true
302-
run: |
303-
set +e
304-
# Successes
305-
success=$(grep -E "CYLC_JOB_EXIT=SUCCEEDED" /contrib-efs/container-test/ppp-setup/cylc-run/test_pp__ptest__ttest/log/job/*/rename-split-to-pp*/0[1-3]/job.status)
306-
exit_status_1=$?
307-
308-
# Failures
309-
failure=$(grep -E "CYLC_JOB_EXIT=ERR" /contrib-efs/container-test/ppp-setup/cylc-run/test_pp__ptest__ttest/log/job/*/rename-split-to-pp*/0[1-3]/job.status)
310-
exit_status_2=$?
311-
312-
if [ $exit_status_1 -eq 0 ]; then
313-
echo $success | sed 's/ /\n/g' #split string by spaces
314-
elif [ $exit_status_1 -eq 1 ]; then
315-
echo "No succeeded tasks found"
316-
else
317-
echo "WARNING: error with grep execution"
318-
exit 2
319-
fi
320-
321-
if [ $exit_status_2 -eq 0 ]; then
322-
echo "Failures found"
323-
echo $failure | sed 's/ /\n/g' #split string by spaces
324-
exit 1 #exit with error
325-
elif [ $exit_status_2 -eq 1 ]; then
326-
echo "No task failures found."
327-
else
328-
echo "WARNING: error with grep execution"
329-
exit 2
330-
fi
331-
332300
- name: Print split-netcdf successes or failures
333301
run: |
334302
set +e

0 commit comments

Comments
 (0)