Skip to content

Commit

Permalink
test artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
yichengt900 authored Nov 16, 2024
1 parent 0ac7670 commit fbc0970
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/CEFI_MOM6-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,31 @@ jobs:
exit 1
fi
- name: Upload the whole TEST_DIR as an artifact
uses: actions/upload-artifact@v3
with:
name: CEFI_MOM6_CHECK
path: ${{ env.TEST_DIR }}/CEFI_MOM6_CHECK

run-CEFI_MOM6-ci:
needs: checkout-build
runs-on: [self-hosted]
strategy:
max-parallel: 1
max-parallel: 2
matrix:
case: ["NWA12.COBALT", "NEP10.COBALT"]
steps:
- name: Download CEFI_MOM6_CHECK folder
uses: actions/download-artifact@v3
with:
name: CEFI_MOM6_CHECK
path: ${{ env.TEST_DIR }}

- name: Run Experiment ${{ matrix.case }}
run: |
cd ${{ env.TEST_DIR }}/CEFI_MOM6_CHECK/exps/${{ matrix.case }}
pwd
ls
jobid=$(sbatch --parsable driver.sh | awk -F';' '{print $1}' | cut -f1)
#
sleep 1
Expand Down

0 comments on commit fbc0970

Please sign in to comment.