fix syntax error #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cesm-derecho-hosted | ||
run-name: ${{ github.actor }} is testing the project | ||
on: | ||
pull_request: | ||
branches: [ testbranch ] | ||
types: [ labeled ] | ||
jobs: | ||
build: | ||
if: ${{ github.event.label.name == 'run-pr-tests' }} | ||
runs-on: hpc-runner | ||
env: | ||
CC: mpicc | ||
FC: mpifort | ||
CXX: mpicxx | ||
CIME_MODEL: cesm | ||
CIME_DRIVER: nuopc | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
path: $WORK/ghworkflow/CESM | ||
- name: Run git-fleximod | ||
run: | | ||
cd $WORK/ghworkflow/CESM | ||
./bin/git-fleximod update | ||
- name: Run scripts_regression_tests | ||
run: | | ||
cd cime/CIME/tests | ||
module load cmake | ||
./scripts_regression_tests.py | ||