Skip to content

Commit

Permalink
Merge pull request #248 from laurenchilutti/CIfix37
Browse files Browse the repository at this point in the history
Ci Fix
  • Loading branch information
laurenchilutti committed Jun 26, 2023
1 parent 84f3c48 commit 3b584df
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/SHiELD_parallelworks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: [self-hosted]
name: Checkout Code
steps:
- run: python3 /pw/storage/PWscripts/FV3checkoutStartClusters.py $GITHUB_REF
- run: /contrib/fv3/FV3CIScripts/checkout.sh $GITHUB_REF

build:
runs-on: [self-hosted]
Expand All @@ -19,13 +19,13 @@ jobs:
fail-fast: true
max-parallel: 3
matrix:
runpath: [/pw/storage/PWscripts]
runscript: [FV3swStartClusters.py, FV3nhStartClusters.py, FV3hydroStartClusters.py]
runpath: [/contrib/fv3/FV3CIScripts/]
runscript: [swcompile.sh, nhcompile.sh, hydrocompile.sh]
steps:
- env:
RUNPATH: ${{ matrix.runpath }}
RUNSCRIPT: ${{ matrix.runscript }}
run: python3 $RUNPATH/$RUNSCRIPT $GITHUB_REF
run: $RUNPATH/$RUNSCRIPT $GITHUB_REF

test:
runs-on: [self-hosted]
Expand All @@ -35,18 +35,10 @@ jobs:
fail-fast: false
max-parallel: 3
matrix:
runpath: [/pw/storage/PWscripts]
runscript: [FV3C128r20.solo.superCStartClusters.py]
runpath: [/contrib/fv3/FV3CIScripts/]
runscript: [C128r20.solo.superC.sh]
steps:
- env:
RUNPATH: ${{ matrix.runpath }}
RUNSCRIPT: ${{ matrix.runscript }}
run: python3 $RUNPATH/$RUNSCRIPT $GITHUB_REF

shutdowncluster:
runs-on: [self-hosted]
name: Shutdown cluster
if: always()
needs: [checkout, build, test]
steps:
- run: python3 /home/Lauren.Chilutti/pw/storage/PWscripts/stopClusters.py cifv3
run: $RUNPATH/$RUNSCRIPT $GITHUB_REF

0 comments on commit 3b584df

Please sign in to comment.