Skip to content

Commit

Permalink
trouble finding repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Nov 18, 2024
1 parent 8581e40 commit 83064b1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 14 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/derecho.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@ on:
types: [ labeled ]

jobs:
setup:
if: ${{ github.event.label.name == 'run-pr-tests' }}
runs-on: hpc-runner

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
repository: ESCOMP/CESM
path: CESM
- name: Run git-fleximod
run: |
pwd
module list
./bin/git-fleximod update

reusable:
runs-on: hpc-runner
strategy:
Expand Down
22 changes: 8 additions & 14 deletions .github/workflows/reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,17 @@ on:
jobs:
test:
runs-on: hpc-runner
working-directory: $GITHUB_WORKSPACE/CESM
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run git-fleximod
run: |
pwd
module list
./bin/git-fleximod update
- name: Run ${{ inputs.compiler }} tests
continue-on-error: true
run: |
- name: Run ${{ inputs.compiler }} tests
continue-on-error: true
run: |
pwd
cd cime/scripts
module load cmake
qcmd -v PROJECT=P93300606 -A P93300606 -l walltime=02:00:00 -- ./create_test --xml-machine derecho\
--xml-category github --no-run --compiler ${{ inputs.compiler }} --test-id ghtest.${{ inputs.compiler }}
- name: check status
run: |
--xml-category github --no-run --compiler ${{ inputs.compiler }} --test-id githubtests.${{ inputs.compiler }}
- name: check status
run: |
cd $SCRATCH
./cs.status.ghtest.${{ inputs.compiler }} --expected-fails-file $GITHUB_WORKSPACE/cime_config/testfiles/ExpectedTestFails.xml
./cs.status.ghtest.${{ inputs.compiler }} --expected-fails-file $GITHUB_WORKSPACE/CESM/cime_config/testfiles/ExpectedTestFails.xml

0 comments on commit 83064b1

Please sign in to comment.