Skip to content

Commit

Permalink
231228.011515.HKT correct yml for matlab recursive and parallel tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Dec 27, 2023
1 parent 133ab30 commit 25ae7d2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/parallel_test_matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
uses: actions/upload-artifact@v4.0.0
if: always() # Always run even if the workflow is canceled manually or due to overtime.
with:
name: ${{ solver }}
name: ${{ matrix.solver }}
path: |
matlab_crash_dump*
Expand Down
35 changes: 19 additions & 16 deletions .github/workflows/profile_quadruple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,19 +145,22 @@ jobs:
run: rm -rf ./matlab/tests/testdata && rm -rf /tmp/${{ env.SOLNAME }}_profile_prima


merge_artifacts:
runs-on: ubuntu-latest
if: always()
needs: test
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v4.0.0
- name: Move all artifacts to the current directory
run: ls -al && mv */* ./ && ls -al
- name: Upload all files
uses: actions/upload-artifact@v4.0.0
with:
name: all
path: ./*
- name: Remove all files
run: ls -al && rm -rf ./*
# As of 20231228, it often fails with "Unable to download and extract artifact: Request timeout"
# or "EMFILE: too many open files".
# See https://github.com/actions/upload-artifact/issues/485
# merge_artifacts:
# runs-on: ubuntu-latest
# if: always()
# needs: test
# steps:
# - name: Download all workflow run artifacts
# uses: actions/download-artifact@v4.0.0
# - name: Move all artifacts to the current directory
# run: ls -al && mv */* ./ && ls -al
# - name: Upload all files
# uses: actions/upload-artifact@v4.0.0
# with:
# name: all
# path: ./*
# - name: Remove all files
# run: ls -al && rm -rf ./*
2 changes: 1 addition & 1 deletion .github/workflows/recursive_test_matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ jobs:
uses: actions/upload-artifact@v4.0.0
if: always() # Always run even if the workflow is canceled manually or due to overtime.
with:
name: ${{ solver }}
name: ${{ matrix.solver }}
path: |
matlab_crash_dump*
Expand Down

0 comments on commit 25ae7d2

Please sign in to comment.