Skip to content

Commit b4ef2d1

Browse files
committed
CI: Fix the do loop that checks for the plotfile directory
1 parent 8aae09a commit b4ef2d1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.gitlab-ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,15 @@ csd3-a100:
6363
- make -j 8 ${BUILD_CONFIG}
6464
- flock ${HOME}/${QOS_INTR_LOCK_FILE} srun ${SRUN_FLAGS} ./main3d.gnu.DEBUG.MPI.CUDA.ex ./params_test.txt
6565
- count=0
66-
- do
66+
- while [ $count -le 5 ]; do
6767
- if [[ -d plt00008 ]]; then
6868
- ${AMREX_HOME}/Tools/Plotfile/fcompare.gnu.ex ${FCOMPARE_FLAGS} plt00008 ${HOME}/${CI_PROJECT_DIR}/.github/workflows/data/plt00008_compare/
6969
break
7070
- else
7171
- sleep 30
7272
- fi
7373
- ((count++))
74-
- done while [ $count -le 5 ]
74+
- done
7575
after_script:
76-
- rm -rf ${HOME}/${QOS_INTR_LOCK_FILE}
76+
- rm -rf ${HOME}/${QOS_INTR_LOCK_FILE}
77+

0 commit comments

Comments
 (0)