Skip to content

Commit

Permalink
231230.012324.HKT revise test_nagfor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Dec 29, 2023
1 parent 7957237 commit bb42978
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
35 changes: 19 additions & 16 deletions .github/workflows/profile_infnan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,19 +193,22 @@ jobs:
run: bash scripts/check_success_timeout_big_test ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.run_id }}


merge_artifacts:
runs-on: ubuntu-latest
if: always()
needs: test
steps:
- name: Download all workflow run artifacts
uses: actions/[email protected]
- name: Move all artifacts to the current directory
run: ls -al && mv */* ./ && ls -al
- name: Upload all files
uses: actions/[email protected]
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/[email protected]
# - name: Move all artifacts to the current directory
# run: ls -al && mv */* ./ && ls -al
# - name: Upload all files
# uses: actions/[email protected]
# with:
# name: all
# path: ./*
# - name: Remove all files
# run: ls -al && rm -rf ./*
3 changes: 2 additions & 1 deletion .github/workflows/test_nagfor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: actions/checkout@v4
if: github.event.inputs.git-ref != ''
with:
ref: ${{ github.event.inputs.git-ref }}
ref: ${{ github.event.inputs.git-ref }}
ssh-key: ${{ secrets.SSH_PRIVATE_KEY_ACT }} # This forces checkout to use SSH, not HTTPS
submodules: recursive

Expand All @@ -65,6 +65,7 @@ jobs:
uses: actions/[email protected]
if: always() # Always run even if the workflow is canceled manually or due to overtime.
with:
name: ${{ matrix.solver }}-${{ matrix.ikind }}-${{ matrix.testdim }}
path: ${{ env.TEST_DIR }}/prima/fortran/tests/test.${{ matrix.solver }}/log/*.log

- name: Remove the test data
Expand Down

0 comments on commit bb42978

Please sign in to comment.