Skip to content

Commit c8337fa

Browse files
Fix YAML syntax error in generated CI script [system:MiyabiG,MiyabiC] [code:qws]
1 parent b22eb4c commit c8337fa

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/matrix_generate.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ ${job_prefix}_run:
123123
- echo \"Job submission parameters: \$SCHEDULER_PARAMETERS\"
124124
- bash $program_path/run.sh $system $nodes ${numproc_node} ${nthreads}
125125
- echo \"Run script completed, checking for results...\"
126-
- ls -la . || echo \"Cannot list current directory\"
127-
- if [[ -d results ]]; then echo \"Results directory exists\"; ls -la results/; else echo \"Results directory missing\"; fi
126+
- ls -la .
127+
- ls -la results/ || echo \"Results directory not found\"
128128
- bash scripts/result.sh $program $system
129129
after_script:
130130
- bash scripts/wait_for_nfs.sh results
@@ -169,8 +169,8 @@ ${job_prefix}_build_run:
169169
- bash $program_path/build.sh $system
170170
- bash $program_path/run.sh $system $nodes ${numproc_node} ${nthreads}
171171
- echo \"Run script completed, checking for results...\"
172-
- ls -la . || echo \"Cannot list current directory\"
173-
- if [[ -d results ]]; then echo \"Results directory exists\"; ls -la results/; else echo \"Results directory missing\"; fi
172+
- ls -la .
173+
- ls -la results/ || echo \"Results directory not found\"
174174
- bash scripts/result.sh $program $system
175175
after_script:
176176
- bash scripts/wait_for_nfs.sh results

0 commit comments

Comments
 (0)