Skip to content

Commit

Permalink
240213.223109.HKT fix profile_bobyqa_small_sq.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Feb 13, 2024
1 parent fb69b74 commit 2d23532
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/profile_bobyqa_small_sq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,20 +98,6 @@ jobs:
cache: true
products: Parallel_Computing_Toolbox

- name: List problems that started but did not end
# The solver got stuck when solving these problems. Investigate what happened.
if: always()
shell: bash
run: |
solver=${{ matrix.solver }}
cd /tmp/${solver}_profile_prima/
ls *${solver}*_start -1 > ${solver}_prob_start
ls *${solver}*_end -1 > ${solver}_prob_end
diff ${solver}_prob_start ${solver}_prob_end > ${solver}_stuck || :
printf "\n\n>>>>>>>>>>>>>>>>\nProblems that started but did not end:\n\n"
cat ${solver}_stuck
printf "\n<<<<<<<<<<<<<<<<\n\n"
- name: Conduct the test
uses: matlab-actions/run-command@v2.0.0
with:
Expand All @@ -135,6 +121,20 @@ jobs:
movefile(fullfile(cd(), 'testdata', '*summary*.pdf'), '/tmp/${{ matrix.solver }}_profile_prima/');
movefile(fullfile(cd(), 'testdata', '*.txt'), '/tmp/${{ matrix.solver }}_profile_prima/');
- name: List problems that started but did not end
# The solver got stuck when solving these problems. Investigate what happened.
if: always()
shell: bash
run: |
solver=${{ matrix.solver }}
cd /tmp/${solver}_profile_prima/
ls *${solver}*_start -1 > ${solver}_prob_start
ls *${solver}*_end -1 > ${solver}_prob_end
diff ${solver}_prob_start ${solver}_prob_end > ${solver}_stuck || :
printf "\n\n>>>>>>>>>>>>>>>>\nProblems that started but did not end:\n\n"
cat ${solver}_stuck
printf "\n<<<<<<<<<<<<<<<<\n\n"
- name: Store artifacts
uses: actions/upload-artifact@v4.3.1
if: always() # Always run even if the workflow is canceled manually or due to overtime.
Expand Down

0 comments on commit 2d23532

Please sign in to comment.